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

Home » Public Forums » archive » Piecewise curve fitting in idl
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: Piecewise curve fitting in idl [message #61900 is a reply to message #61798] Sun, 03 August 2008 22:46 Go to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Aug 4, 6:58 am, Craig Markwardt
<craigm...@REMOVEcow.physics.wisc.edu> wrote:
> d.po...@gmail.com writes:
>> On Jul 31, 1:21 pm, Wox <nom...@hotmail.com> wrote:
>>> On Thu, 31 Jul 2008 03:30:22 -0700 (PDT), d.po...@gmail.com wrote:
>>>> Folks
>>>> How we can do the piecewise curve fitting in idl. Say we have an array
>>>> that this array has got 2 or 3 trends in data and we want to fit a
>>>> liner curve for each trends. In MATLAB curve fitting tool, we can
>>>> easily exclude or include a part of data and then fit a curve. How we
>>>> can do this in IDL
>>>> Cheers
>>>> Dave
>
>>> Euhm, just do the fitting on the different parts? Or do you mean
>>> fitting with a piecewise polynomial (i.e. spline: see e.g. IMSL_BSLSQ
>>> or IMSL_CONLSQ)
>
>> just doing the fitting on the difrent part. how we can select this
>> parts and how we can fit a curve to these parts separatly?
>
> I realize I'm coming into this discussion late.  However, the IDL
> Astronomy library has a nice procedure LINTERP which would be very
> useful for an application like this.  It would still need to be
> interfaced to a fitting function.  It would allow you to fit the
> tabulated Y values, and in principle even the tabulated-X positions,
> although I would NOT advise that.
>
> For a graphical interface, IDL is probably not the best application
> unless you want to write the whole program yourself.
>
> Craig
>
> --
> ------------------------------------------------------------ --------------
> Craig B. Markwardt, Ph.D.      EMAIL: craigm...@REMOVEcow.physics.wisc.edu
> Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
> ------------------------------------------------------------ --------------

could you please send me the Astronomy library link for this.
Cheers
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Printing multiple columns in IDL
Next Topic: 64-bit netCDF file

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

Current Time: Sat Oct 11 16:27:33 PDT 2025

Total time taken to generate the page: 0.16301 seconds