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

Home » Public Forums » archive » Resample (neighborhood averaging) a 3D array with missing data
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: Resample (neighborhood averaging) a 3D array with missing data [message #86769 is a reply to message #86768] Mon, 02 December 2013 02:47 Go to previous messageGo to previous message
Moritz Fischer is currently offline  Moritz Fischer
Messages: 32
Registered: June 2013
Member
>>
>>
>> alx.
>
> Sorry, I forgot a more REFORM !
>
> resampled_array=mean(reform(transpose(reform(array,4,32,4,50 00,32,/OVER),[0,2,1,3]),8,32,5000,32,/OVER),DIM=1,/NAN)
>


... and I think the "8" should be a "16" ( = 4 x 4 ). But you made your
point ;-)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL 8.3???
Next Topic: Color Data with Colorbar OOB Colors

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

Current Time: Wed Oct 08 19:03:15 PDT 2025

Total time taken to generate the page: 0.00528 seconds