Hi everybody! I need to perform some NLFit on many datasets (4 peaks per column and about 100 columns) and plot the evolution of the NLFit parameters. To build my script (LabTalk environment), I inspired myself from the following script example:
quote:
// Start a fitting session for col(A),col(B) using Gauss function and my named tree
nlbegin iy:=(1,2) func:=gauss nltree:=MyTree;
// Set the peak center as 5 and fixed
MyTree.xc = 5;
MyTree.f_xc = 1;
// Set the baseline as 0 and fixed
MyTree.y0 = 0;
MyTree.f_y0 = 1;
// Now fit
nlfit;
// and report results
type Baseline y0 is $(mytree.y0), Peak Center is $(mytree.xc), Width is $(mytree.w), Area is $(mytree.A);
$(mytree.y0) will return the fitted y0 value, but what about the associated error? Where can we find the substitution variable for the errors?
Thank you for your help.
2 L A T E S T R E P L I E S (Newest First)
Loksley
Posted - 03/13/2009 : 05:15:40 AM Many thanks Shirley, I'll try that.