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

Home » Public Forums » archive » Re: CURVEFIT for multiple datasets
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: CURVEFIT for multiple datasets [message #58463 is a reply to message #58442] Thu, 31 January 2008 10:32 Go to previous messageGo to previous message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Jan 31, 4:13 pm, Paul van Delst <Paul.vanDe...@noaa.gov> wrote:
> chloesharro...@gmail.com wrote:
>> I'm an undergraduate trying to do an MPhys Project and
>> I'd rather try and code as much as possible myself so I can get credit
>> for it.
>
> Strange approach. Your ultimate goal should be to get the correct answer. That's much
> easier to do using software you can trust.
>
> Besides, regardless of whether you use IDL's CURVEFIT, or Criag's MPFIT, you're still
> using "advanced fitting programmes" that you can't take credit for. You can take credit
> for writing the code that feeds those procedures the data, I guess.

I completely agree - surely whether you use mpfitfun as programmed by
Craig or curvefit as programmed by the guys at RSI (as it probably was
when it was coded) makes no difference to how much credit you can take
for it? The only difference is that the RSI guys probably got paid for
their work!
Plus, as David mentioned, it's good for the soul, or something...

>> Luckily, I have found a way to do a fit for 2datasets now - by
>> puttting them all into one big array, so hopefully I can extend this
>> further so I put 2000+ datasets in one array and then fit an
>> exponential to that new array.

Could you expand please? I'm intrigued.
I only got as far as realising the elliptical input parameters to
GAUSS2DFIT were not what I was looking for before stumbling upon mpfit
which works very well for 2-dimensional datasets so long as you're
*really sure* you know what you're asking it to do. Never looked
back ;-)

>
> What about taking the average of all your datasets (assume the same abscissa values) and
> fit that using the std dev's of each point as an error estimate?
>
> cheers,
>
> paulv

take care,
Chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Is there a good procedure for Minimum Variance Analysis?
Next Topic: Re: Creating a dicom-file in HSV colors

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

Current Time: Fri Oct 10 03:08:33 PDT 2025

Total time taken to generate the page: 1.36163 seconds