| T O P I C R E V I E W |
| oconnor |
Posted - 02/21/2005 : 10:00:03 AM Origin Version (Select Help-->About Origin): Operating System: WinXP
Hi,
I am fitting a number of curves in Origin C with the following:
using NLSF = LabTalk.NLSF; NLSF.Init(); NLSF.PasteToPlot = 1; NLSF.Func$ = "boltzmann"; NLSF.FitData$ = strYDataName1; NLSF.Execute("parainit"); NLSF.Fit(100);
I keep receiving error messages to the effect of "try setting parameter A2 as fixed" etc. How do I go about setting some parameters as fixed, while letting others vary with the NLSF.Execute("parainit") statement?
Thanks for your help.
Rod. |
| 2 L A T E S T R E P L I E S (Newest First) |
| easwar |
Posted - 02/21/2005 : 10:25:28 AM Hi Rod,
Since this is a LabTalk object, you need to look under the LabTalk language reference help file to find all associated methods and properties of the NLSF object. You can look up the section: LabTalk Language Reference -> Object Reference -> Alphabetical Listing of Objects -> NLSF
Also, if you keep getting messages that ask you to fix one parameter or another, it is possible that the function and data are not a good match and no convergence is being acheived. Try fitting the data manually with the NLSF tool with the chosen function first.
Easwar OriginLab
Edited by - easwar on 02/21/2005 10:27:07 AM |
| Mike Buess |
Posted - 02/21/2005 : 10:19:33 AM Hi Rod,
NLSF.v1 = 1; // vary first parameter NLSF.v2 = 0; // fix second parameter - etc. -
Mike Buess Origin WebRing Member |
|
|