idl programming language - IDL MPFITFUN .tied constraint -
i'm having issues using fitting constraints using mpfitfun package in idl.
basically, have several parameters i'm fitting, of constraint single parameter (p[0]) factor of parameter. such, set parinfo.tied that, after printing, read follows: '0.662104 * p[0]' '0.245035 * p[0]' ...
after fitting read out parameters, , though p[0] has appropriate value, appears constrained parameters have obtained values (in case) 0.66210400 0.24503500 (and p[0] not 1, somewhere around 475 case) such, constraint not seem work me. seems return factor want multiply p[0], not multiply it.
does have idea how resolve this, or why not seem work? somehow using wrong syntax .tied keyword etc.? welcome. many thanks!
Comments
Post a Comment