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

Home » Public Forums » archive » Fast way to collapse data cube with median
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: Fast way to collapse data cube with median [message #85141 is a reply to message #85133] Tue, 09 July 2013 12:14 Go to previous message
stefan.meingast is currently offline  stefan.meingast
Messages: 30
Registered: June 2012
Member
Thanks for the tip. You are right, this is faster. One can rearrange the cube and use the dimension=2 keyword (instead of 3). However, when I use TRANSPOSE to rearrange the array, the total time it takes to transpose and collapse the cube is longer than what I had before, so I created the transposed array at the point where I create the cube and skip the call of TRANSPOSE. Now its twice as fast. :)

thanks a lot!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Peak detection
Next Topic: CURVEFIT function

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

Current Time: Fri Oct 10 00:57:14 PDT 2025

Total time taken to generate the page: 1.68219 seconds