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

Home » Public Forums » archive » Re: how to use mpfit fitting routine
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: how to use mpfit fitting routine [message #84309] Wed, 15 May 2013 07:16 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Wednesday, May 15, 2013 4:12:00 AM UTC-4, idlhelp wrote:
> Dear All,
>
> I have an observed spectrum in which I have wavelength (Wo) and flux (Fo). I want to compare that with the 200 different synthetic spectrum in order to obtain the best free parameter. I want to use MPFIT routine for that. I have gone through their webpage but It seems very complicated to me to use. Does anyone know how to use to fit the spectrum.

If you have 200 synthetic spectra, why do you need MPFIT? You could just compare your observed spectrum to each and every synthetic spectrum and find the best match.

I suspect what you *really* want to do, but don't say, is be able to interpolate between the synthetic spectra to find an intermediate match. That is possible, but you need to develop or find some software to do this, completely unrelated to MPFIT. Interpolation may be specific to your kind of spectrum.

MPFIT expects your (interpolated) model function needs to be a smoothly varying function of your parameters.

Best wishes,
Craig
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Newbie to IDL needs help :)
Next Topic: Re: Data points off plot when limit xrange

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

Current Time: Wed Oct 08 18:11:08 PDT 2025

Total time taken to generate the page: 0.00447 seconds