From some replies on the rietveld list, I've had the initial idea to weight each pattern as
weighting = 1/(N Yobs);
where N is a local parameter in each xdd.
The idea is that N should refine in order to make the gof of the individual xdds equal to the overall gof.
How do I do that?
I've had a go at putting in a penalty, where
penalty = (overall_gof - pattern_gof)^2;
where
overall_gof = Get(gof); 'outside of all xdds
pattern_gof = Get(gof); 'inside an xdd
That didn't seem to work.
I've tried continue_after_convergence and recal_weighting_on_iter and that didn't seem to work either.