FuncFit general question

Hi all!

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.
a) use the V_fiterror variable:
DisplayHelpTopic "Special Variables for Curve Fitting"

to recover from NaN's being returned from the fitfunction.


b) Use the /N flag to supress the Curvefit window -OR- use V_fitoptions

Thanks a lot, I did not know about the curve fitting help. Should have searched for that first.
Anyway, everything is fine now, thank you for your help!
andyfaff wrote:
b) Use the /N flag to supress the Curvefit window -OR- use V_fitoptions

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