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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 options in NLSF command

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
anaracarva Posted - 04/04/2011 : 7:43:03 PM
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).
2   L A T E S T    R E P L I E S    (Newest First)
anaracarva Posted - 04/05/2011 : 6:11:57 PM
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
greg Posted - 04/05/2011 : 5:18:45 PM
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.


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000