comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: constraining parameters in multi-Gaussian 1D fitting
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: constraining parameters in multi-Gaussian 1D fitting [message #45363 is a reply to message #45361] Mon, 05 September 2005 17:33 Go to previous messageGo to previous message
JD Smith is currently offline  JD Smith
Messages: 850
Registered: December 1999
Senior Member
On Mon, 05 Sep 2005 12:07:42 -0500, Craig Markwardt wrote:

>
> "Jess" <jobrien@mso.anu.edu.au> writes:
>> One constraint I am unable yet to do is: I = would like to be able to
>> tie the peak flux of the Gaussians such that the peak flux of last
>> Gaussian is always greater than that of the first Gaussian.
>> I tried using
>> parinfo((n_gauss-1)*3).tied = 'GT P[0]'
>>
>> However the tied structure of parinfo doesn't seem to be meant to
>> accept operators like GT,LT, etc. ...
>
> True. MPFIT's TIED fields are limited to equality constraints only.

What if you availed yourself of the ITERPROC procedure to enforce the
constraint, dragging the fitter (kicking and screaming if necessary)
back into line if it attempts to step out? Any reason this wouldn't
work?

JD
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Concatenating arrays across chosen dimension
Next Topic: Another IDL 6.2 Project Problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 10:44:41 PDT 2025

Total time taken to generate the page: 0.71743 seconds