| Author |
Topic  |
|
|
Mike Buess
USA
3037 Posts |
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 |
|
|
rtoomey
USA
184 Posts |
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
|
 |
|
|
Mike Buess
USA
3037 Posts |
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 |
 |
|
| |
Topic  |
|
|
|