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

Home » Public Forums » archive » Smoothing Spline -- any existing efficient routines?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Smoothing Spline -- any existing efficient routines? [message #72088] Thu, 12 August 2010 06:25 Go to previous message
Neil B. is currently offline  Neil B.
Messages: 2
Registered: August 2010
Junior Member
Hi,

I am trying to find the continuum of various stellar spectra. The
noise of these spectra are fairly non-intrusive and there aren't many
outliers (spikes due to calibration errors etc.).

The arrays I am working with contain about 40000+ elements.

I want to essentially turn the spectra into some linear function, so I
can remove any curvature in the observed data.

I know of the procedure Spline_smooth (http://astro.uni-tuebingen.de/
software/idl/astrolib/math/spline_smooth.html). However, this
function as the restriction tag in its header suggests, is extremely
slow.... It takes about 40 minutes to process a 1000 element sub-
array. The speed issues in this program are due to the fact that it
does not use Cholesky Decomposition. Further more, when I try the
routine on the 40000 element array I receive an error message that
informs me that there are too many elements in the array...

Does anyone know of an efficient version of this routine.

Or is there a better way for determining the continuum of a spectrum?

Thanks very much in advance.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Logistic model in COMFIT function
Next Topic: Structures and arrays of structures

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

Current Time: Wed Oct 08 11:54:36 PDT 2025

Total time taken to generate the page: 0.00292 seconds