Sorry, I terribly mis-stated the problem. The dialog doesn't seem to support the "_default_" coefficient wave option on the Coefficients tab. I always get "Igor can't tell how many coefficients the fit function requires. Select a wave from the Coefficient Wave menu." It seems like Igor doesn't process the comment info in the "//CurveFitDialog/" format when the function is all-at-once.
You are absolutely right -- the Curve Fitting dialog can run all-at-once fits as long as you select a pre-existing coefficient wave. You will not see the "human-readable" name of each coefficient, though, which is a major bummer when you have a complicated function.
Posts: 566
Joined: 2007-06-29
Location: United States
nplumb wrote:
Sorry, I terribly mis-stated the problem. The dialog doesn't seem to support the "_default_" coefficient wave option on the Coefficients tab. I always get "Igor can't tell how many coefficients the fit function requires. Select a wave from the Coefficient Wave menu." It seems like Igor doesn't process the comment info in the "//CurveFitDialog/" format when the function is all-at-once.
You are absolutely right -- the Curve Fitting dialog can run all-at-once fits as long as you select a pre-existing coefficient wave. You will not see the "human-readable" name of each coefficient, though, which is a major bummer when you have a complicated function.
Yes, the dialog actually parses the code to figure out how many fit coefficients it has. The parsing code doesn't understand the format of an all-at-once fit function.
It really should fall back on the comments, though. I will add that to my to-do list.
Joined: 2007-09-11
Location: Australia
Analysis->Curvefitting does to all-at-once fits, if you have an all-at-once function:
However, the Curvefitting dialogue does not handle fits that have more than one independent variable, or structure fits.
Joined: 2009-02-12
Location: Switzerland
Sorry, I terribly mis-stated the problem. The dialog doesn't seem to support the "_default_" coefficient wave option on the Coefficients tab. I always get "Igor can't tell how many coefficients the fit function requires. Select a wave from the Coefficient Wave menu." It seems like Igor doesn't process the comment info in the "//CurveFitDialog/" format when the function is all-at-once.
You are absolutely right -- the Curve Fitting dialog can run all-at-once fits as long as you select a pre-existing coefficient wave. You will not see the "human-readable" name of each coefficient, though, which is a major bummer when you have a complicated function.
Joined: 2007-06-29
Location: United States
You are absolutely right -- the Curve Fitting dialog can run all-at-once fits as long as you select a pre-existing coefficient wave. You will not see the "human-readable" name of each coefficient, though, which is a major bummer when you have a complicated function.
Yes, the dialog actually parses the code to figure out how many fit coefficients it has. The parsing code doesn't understand the format of an all-at-once fit function.
It really should fall back on the comments, though. I will add that to my to-do list.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com