Fit Function Continuity

 


I am using a user-defined fit function to compose curve fits on my dataset. However I need to accomplish the following tasks

In case of Singular Matrix/ any fit non convergence errors, I need

a) The error message to be saved
b) The fitting algorithm to continue fitting the rest of the data

What is the best way to do this?
 

 

It sounds like you are using user procedure code to do multiple curve fits. To detect a singular matrix error or other abnormal end, you need the V_FitError and V_FitQuitReason variables. Read about this:

DisplayHelpTopic "Special Variables for Curve Fitting"

Copy that command, paste it into Igor's command line and press Enter.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com