Dear Topas users,
I have data with a highly asymmetric (instrumental effect) first peak, and I would like to fit it with a different function than the remaining peaks. I attempted to use an "if" function defined as follows:
gauss_fwhm = If(2Th < 3, prm1, prm2 * Tan(Th) + prm3 / Cos(Th));
lor_fwhm = If(2Th < 3, prm4, prm5 * Tan(Th) + prm6 / Cos(Th));
circles_conv = If(2Th < 3, prm7, 0);
However, Topas does not recognize the "if" statement and attempts to fit the first parameter (prm1, prm4 and prm7) across the entire 2Theta range. Is there any way to force the program to use a different profile function for the first peak (to a specific 2Theta range < 3)?
I would appreciate any help.