Hello,
I have been using a manual background for some of the trouble areas in my TOPAS fit. The function takes on this form:
Bkg_Straight_Line_First (0, X1, 5.678)
Bkg_Straight_Line (0, 1, 13.456, 7.688)
Bkg_Straight_Line (1, 2, 13.556, 12.678)
Bkg_Straight_Line (2, 3, 13.656, 16.678)
Bkg_Straight_Line (3, 4, X2, 5.678)
etc, where the first two columns are line segments relating each line to the next, the third column is the 2theta value, and the 4th column is the intensity.
This is a macro as described in
http://topas.dur.ac.uk/topaswiki/doku.php?id=background_straight_line_segments
What I would like to do is allow the intensity parameter to refine so I don't have to change each and every one to make the fit work. I was thinking something like this so only the intensity refines, but I don't think this function is meant to work like this:
Bkg_Straight_Line (!nx1, !ny1, !the1, in1, 2, 3, 13.656, 16.678)
This doesn't work. Any ideas?
Thanks!