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

Home » Public Forums » archive » Re: Non-monotonic Abscissa values for IDL function SPLINE_P
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: Non-monotonic Abscissa values for IDL function SPLINE_P [message #66709 is a reply to message #66708] Wed, 03 June 2009 08:50 Go to previous messageGo to previous message
Xavier Ceamanos Garci is currently offline  Xavier Ceamanos Garci
Messages: 2
Registered: June 2009
Junior Member
Thank you so much Jeremy for the answer!

You are very right. I use splines to interpolate spectra. Then, the
main goal is to re-sample these spectra. Each value of a spectrum
corresponds to a given wavelength and in my case all points are
separated by a constant wavelength distance. Hence, it is crucial to
know which wavelengths corresponds to each point of the over-sampled
spectra. A good re-sampling is not possible otherwise.

Then, are you telling me that the number of points of the output
vector depends on the input data? That would mean that it would be
different for each spectrum interpolation...

So far, I am using the "SPLINE" function which produces a monotonic
output. In this case, it is easy to know the output wavelengths. It is
slower though...

I was just wandering if there is any way to get the same results I get
with SPLINE but using SPLINE_P...

Thanks again!

Xavi
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: PNG IMAGE
Next Topic: creating buffers in IDL

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

Current Time: Fri Oct 10 17:16:05 PDT 2025

Total time taken to generate the page: 0.95877 seconds