Hi,
After you performed the NLFit analysis and you already created a report sheet, you can run the following LabTalk script to extract the only parameter value x0 and its error in a new worksheet.
Note this code assumes you have only 4 parameters and x0 is the 2nd fitting parameters as listed in report sheet. You can modify it to fit your case:
// Directly copy and paste the code in Script Window to run
getnlr iw:=__REPORT$ tr:=tt pn:=1;
newbook "Results";
wks.ncols=3;
col(1)[L]$ = "Parameter";
col(2)[L]$ = "Values";
col(3)[L]$ = "SD";
for ( int ii = 1; ii<=tt.nsets; ii ++)
{
col(1)[$(ii)]$ = tt.n$(4*ii-2)$;
col(2)[$(ii)] = tt.p$(4*ii-2);
col(3)[$(ii)] = tt.e$(4*ii-2);
}
Give it a try and see how it turns out.
Regards!
Sean
OriginLab Tech. Service