Hi All,
In the GUI, STR instances have a menu option "Save if displayed Yobs,Ycalc,Diff,Bkg,Phases." My question is simply, isn't there a keyword to enable output of the calculated background from launch mode?
I note there's some kind of work-around from 2011 in this forum. I don't understand why we should need to run the same script twice with user intervention (toggling booleans) to get the desired output... this seems hacky.
In other words:
macro WriteFit(fname)
{
xdd_out fname
load out_record out_fmt out_eqn {
"%.6f " = X ;
"%.6f " = Yobs ;
"%.6f " = Ycalc ;
"%.6f\n" = Get(bkg) ; '<--- what goes here?? This writes 0's.
}
}
xdd ...
bkg @ 1 1 1 ' <--- Chebyshevv polynomial
...
str
...
WriteFit(MyOutputString.txt)