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

Home » Public Forums » archive » moving average of a large array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
moving average of a large array [message #51516] Thu, 23 November 2006 07:47
envi35@yahoo.ca is currently offline  envi35@yahoo.ca
Messages: 48
Registered: March 2005
Member
Hi, I want to calculate the moving average of a large array:
data[800,800,365]. The moving average is for the 3rd dimension - day of
year. But TS_SMOOTH only works for a vector. Anyone knows if there is
another function in IDL that I could use? I probably can use TS_SMOOTH
and for loops to get this, but it will be slow. In addition, there are
invalid data in my array as well.

I've read discussions in this list about adding Dimension and NAN
keywords to other functions, such as Total, Median, etc., which are
very useful. Why nobody cares about TS_SMOOTH? Or am I asking a silly
question? Is there an obvious way to calculate the moving average of a
large array?


Thanks,
Jenny
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Expanding array with counts from another array
Next Topic: making movies in idl

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

Current Time: Wed Oct 08 17:44:17 PDT 2025

Total time taken to generate the page: 0.00583 seconds