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
 nlsf iteration methods

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
Mike Buess Posted - 11/14/2003 : 3:23:12 PM
What is the difference between these two nlsf iteration methods?

nlsf.iterate()
nlsf.iterateex()

The second shows up in the nlsf dump (nlsf.=) but doesn't appear in the programming guide.

Mike Buess
Origin WebRing Member
2   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 11/14/2003 : 6:07:50 PM
Thanks for the explanation, Ryan. Sounds useful. I'll look at the OGS file you suggested.

Mike Buess
Origin WebRing Member
rtoomey Posted - 11/14/2003 : 5:17:27 PM
Hi Mike,

nlsf.iterateex() was instituted when the NLSF Wizard was added in order to duplicate what happens when one clicks on the iteration buttons in the Advanced Fitting Tool (NLSF). This method works in conjunction with nlsf.compileparainit=[1/0]. This property allows one to use nlsf.iterateex() with parameter initializations or not, depending on the value. If the value is 0, it is expected that parameter initializations are hard coded somehow.

nlsf.iterateex() can have a value of 0. This allows one to redraw the fit curve at any time. In fact, it can even be used to put the fit curve onto any graph you want when used in conjunction with another cool method: nlsf.ouptput().

nlsf.output() takes a string as an argument. The string is the graph name that you want as the output. The method is tricky in that it must be repeated after nlsf.iterateex() to restore output to the original graph. These methods came in handy when dealing with the embedded graph in the NLSF Wizard, but should serve a purpose to some who like to use LabTalk to automate fitting routines.

nlsf.iterate() is the old method of iterating whereby iterations are performed, but other methods and properties are required to get the curve to appear (e.g. nlsf.makecurve()).

Take a look at NLSFWiz.OGS to see how nlsf.iterateex(), nlsf.output(), nlsf.compileparainit, and other new methods and properties are used to make the wizard work.

- Ryan


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