The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 options in NLSF command
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

anaracarva

Colombia
Posts

Posted - 04/04/2011 :  7:43:03 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver 8.1. SR3
Operating System:Windows 7
In some old LabTalk scripts that I need to use, I found the Instruction nlsf followed with different options, for example: -h -f, -t and a number (nlsf -15). What do these options do? I couldnt find any information about the command NLSF (not the object).

greg

USA
1379 Posts

Posted - 04/05/2011 :  5:18:45 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The NLSF object isn't used by Origin any longer. It seems we left the NLSF Object documentation in Origin, but removed the NLSF Command documentation. We still advise you to use nlbegin when scripting fitting rather than the obsolete NLSF object, but here is the documentation of command options:

no option dataset
Assign a dataset to the fitter and open the Fitting Session dialog box.

-#
Iterate the fitting routine # times.

-e
Open the Fitting Session dialog box.

-f funcName
Select the fitting function specified by funcName.
funcName must be included. The Fitting Session dialog box does not open.

-h dataset
Enter the fitting session and plot a trial fit curve for dataset.
This option does not display the Fitting Session dialog box. The option will not work unless you first select a fitting function.

-t
Terminate the fitting session.

-u
Update the fit curve according to the parameters in the dialog box.

-s dataset
Subtract the active fit curve from dataset.

-v value [init][inc]
Set parameters as fixed or variable during the fitting procedure.
A fixed parameter is held constant during the fitting, while a variable parameter varies. Set all parameters to value, where 0 = variable and 1 = fixed. Or start at parameter number init, and change each inc parameter thereafter.

-y value [init][inc]
Set parameter values.
Sets all parameters to value, unless you specify an initial parameter init, and an increment inc.

Go to Top of Page

anaracarva

Colombia
Posts

Posted - 04/05/2011 :  6:11:57 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by greg

The NLSF object isn't used by Origin any longer. It seems we left the NLSF Object documentation in Origin, but removed the NLSF Command documentation. We still advise you to use nlbegin when scripting fitting rather than the obsolete NLSF object, but here is the documentation of command options:

no option dataset
Assign a dataset to the fitter and open the Fitting Session dialog box.

-#
Iterate the fitting routine # times.

-e
Open the Fitting Session dialog box.

-f funcName
Select the fitting function specified by funcName.
funcName must be included. The Fitting Session dialog box does not open.

-h dataset
Enter the fitting session and plot a trial fit curve for dataset.
This option does not display the Fitting Session dialog box. The option will not work unless you first select a fitting function.

-t
Terminate the fitting session.

-u
Update the fit curve according to the parameters in the dialog box.

-s dataset
Subtract the active fit curve from dataset.

-v value [init][inc]
Set parameters as fixed or variable during the fitting procedure.
A fixed parameter is held constant during the fitting, while a variable parameter varies. Set all parameters to value, where 0 = variable and 1 = fixed. Or start at parameter number init, and change each inc parameter thereafter.

-y value [init][inc]
Set parameter values.
Sets all parameters to value, unless you specify an initial parameter init, and an increment inc.



Great answer Greg!!
Thank you very much
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000