Re: Fourier fit [message #54017] |
Mon, 14 May 2007 10:16 |
Christopher Thom
Messages: 66 Registered: October 2006
|
Member |
|
|
Quoth laurasperoni79@yahoo.it:
> Hello, for my thesis I need to compile a program in IDL that can give me
> automatically the best Fourier fit for light curves of Cepheids, take
> the dates from a list in txt and show me the graphic of these curves.
> I've also to understand a little program who compile my teacher but it's
> derived from Fortran and is not so easy. Can anibody help me to write my
> program? Ideas? Suggests?
To help you write your programme, I would suggest david's book:
http://www.dfanning.com/documents/books.html
especially as you seem new to the IDL universe. It will be money very well
spent, and many hours of frustration saved.
cheers
chris
|
|
|
Re: Fourier fit [message #54022 is a reply to message #54017] |
Mon, 14 May 2007 04:44  |
Wox
Messages: 184 Registered: August 2006
|
Senior Member |
|
|
On Mon, 14 May 2007 13:12:30 +0200, Wox <nomail@hotmail.com> wrote:
> On 14 May 2007 01:14:10 -0700, laurasperoni79@yahoo.it wrote:
>
>> Hello, for my thesis I need to compile a program in IDL that can give
>> me automatically the best Fourier fit for light curves of Cepheids,
>> take the dates from a list in txt and show me the graphic of these
>> curves.
>> I've also to understand a little program who compile my teacher but
>> it's derived from Fortran and is not so easy.
>> Can anibody help me to write my program? Ideas? Suggests?
>> Thanks
>
> Fourier fitting is a non linear least squares problem. I don't really
> know what you want here, but maybe Marc Buie's fourfit gets you
> started (http://www.lowell.edu/users/buie/idl/downloads/)?
>
I see there's also a profile lcfit.pro: "Fit a lightcurve function".
|
|
|
Re: Fourier fit [message #54023 is a reply to message #54022] |
Mon, 14 May 2007 04:12  |
Wox
Messages: 184 Registered: August 2006
|
Senior Member |
|
|
On 14 May 2007 01:14:10 -0700, laurasperoni79@yahoo.it wrote:
> Hello, for my thesis I need to compile a program in IDL that can give
> me automatically the best Fourier fit for light curves of Cepheids,
> take the dates from a list in txt and show me the graphic of these
> curves.
> I've also to understand a little program who compile my teacher but
> it's derived from Fortran and is not so easy.
> Can anibody help me to write my program? Ideas? Suggests?
> Thanks
Fourier fitting is a non linear least squares problem. I don't really
know what you want here, but maybe Marc Buie's fourfit gets you
started (http://www.lowell.edu/users/buie/idl/downloads/)?
|
|
|