Hi Casper
Thanks for the PDF document; first it seems that what you want is what is given except for a weighting contribution; first a quick rundown of what Iobs_no_scale_pks is.
>The error seems to be a factor 10^3 bigger than the data, when I extract this with phase_out.
Iobs_no_scale_pks includes the Rietveld scale parameter; ie.
Io(k) = Sum(Ic(k) Peak(k,i) [Yobs(i) / Yc(i)], i)
= M Get(scale) Iobs_no_scale_pks
Peak(i) = calculated normalized peak
Yc(i) = calculated pattern
Ic(k) = M Get(scale) Fcalc^2
M = multiplicity
Iobs_no_scale_pks_err = Sqrt( Sum( (Sigma( p(j) d_Iobs_no_scale_pks/d_p(i))^2, j))
Where p(j) is the jth parameter that is a function of Iobs_no_scale_pks.
In the document it gives another form of Fobs^2 which includes a weighting. TOPAS does not do that but I can do a modification; what is needed is:
Io(k) = Sum(w(i) Ic(k) Peak(k,i) [Yobs(i) / Yc(i)], i) / Sum(w(i), i)
The PDF went to describe what w(i) is which I don't quite understand; I thought it should be just Sigma(Yobs) which is part of the raw data or if not given then Sqrt(1/Yobs(i)) is used. Also what is b(i), is that background.
Send me an e-mail (
alancoelho@bigpond.com) and let me know what version of the program you are using.
cheers
alan