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

Home » Public Forums » archive » Re: Polynomial Fitting question
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: Polynomial Fitting question [message #68143 is a reply to message #68142] Fri, 02 October 2009 04:47 Go to previous message
wita is currently offline  wita
Messages: 43
Registered: January 2005
Member
Dear Rodger,

Are you sure that it is really the double FOR loop that is slowing you
down?

I am building a framework for processing satellite time-series data,
which is similar to what you are doing here: looping over the rows and
columns and fitting a model to the data. I use Craig's MPFitFun to
fit a model (usually more complex then a polynomial), but I find that
typically 95% of the processing time is spent within the MpFit
routines. So trying to optimize on the double FOR loop will not gain
anything.

I suggest you run the IDL profiler on your code (maybe you did, but it
is not mentioned in your post) to see what is causing the delay.

Allard
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: the idl7.1 crashed when drawing
Next Topic: Polygonization of 3D Point Cloud

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

Current Time: Tue Oct 21 16:04:40 PDT 2025

Total time taken to generate the page: 1.11856 seconds