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 #86779 is a reply to message #86769] Mon, 02 December 2013 16:28 Go to previous message
zhangj.sdu is currently offline  zhangj.sdu
Messages: 6
Registered: December 2013
Junior Member
On Monday, December 2, 2013 6:47:58 PM UTC+8, Moritz Fischer wrote:
>>>
>
>>>
>
>>> 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 ;-)

This is exactly what I need. Thanks, ALX, Moritz.
Clark
[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 17:05:19 PDT 2025

Total time taken to generate the page: 0.00463 seconds