FuncFit general question
AMSUser
I am using FuncFit in a procedure to do fits on slices of a matrix. As I am looping over the complete Matrix, there might easily be some thousands of FuncFit calls.
Is there a way to suppress:
a) the debugger message 'FuncFit error: "The fitting Function returned NaN for at least one X value"' (without turning the debugger off completely)
b) the 'Curve Fit' window displaying info about the current pass, chi squared, etc.
I am already using the \Q flag, but that only supresses the output in the command window.
I would be happy about any hint/tip.
Thanks!
P.S.: I am using Igor Pro 6.12A, in case that's relevant.
to recover from NaN's being returned from the fitfunction.
b) Use the /N flag to supress the Curvefit window -OR- use V_fitoptions
November 11, 2010 at 01:44 pm - Permalink
Anyway, everything is fine now, thank you for your help!
November 11, 2010 at 10:44 pm - Permalink
Actually, the /N flag doesn't suppress the Curve Fit Progress window. It just suppresses screen updates during fitting.
As of 6.21, the /W flag can be used to suppress the progress window. Use CurveFit/W=2 (or FuncFit/W=2).
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
November 15, 2010 at 01:58 pm - Permalink