C-PLOT

Scientific Graphics and Data Analysis

12.9. - lm set parameter constraints



lets you set or vary lower and upper constraints on the parameters during fitting.
lm
or
lm [# [low high]]
With no arguments, you are prompted for lower and upper constraints for each of the adjustable fit parameters. You can enter information for just one parameter by giving the parameter number as an argument and, optionally, the constraints, on the command line. Entering the literal characters none for the lower or upper constraint removes the constraint at that end of the range.

The default values for the parameter constraints are set in the C code for your fitting function. You also can enter values for the parameter constraints on the fi command line.

During fitting, a parameter with constraints will not be allowed to move past the constrained value. If the fit converges with a parameter at a constrained limit, an error message is included in the fit results.