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

Home » Public Forums » archive » Data elimination from array
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: Data elimination from array [message #51930 is a reply to message #51799] Fri, 08 December 2006 18:40 Go to previous messageGo to previous message
Braedley is currently offline  Braedley
Messages: 57
Registered: September 2006
Member
Yeah, it just doesn't look as clear to me (plus, I think you still have
an error in there). Mine is also a fair amount faster on my machine
(AMD 64 X2 4800+, IDLv6.2). It does provide the correct result.

Braedley

mgalloy@gmail.com wrote:
> Bob Crawford wrote:
>> On Dec 8, 3:45 pm, "Braedley" <mike.braed...@gmail.com> wrote:
>>> Except that it doesn't work.
>>
>> What doesn't work? Wox's code? It worked when I tried it.
>
> Mine original code doesn't work (or it only works for the case the
> length of each "block" is 1).
>
> I think this should be more general:
>
> array = findgen(21446656)
> nlen = 1792
>
> r = reform(array, nlen, n_elements(array) / nlen)
> array1 = reform(r[*, 0:*:4], n_elements(array) / 4)
> array2 = reform(r[*, 0:*:4], n_elements(array) / 4)
> array3 = reform(r[*, 0:*:4], n_elements(array) / 4)
> array4 = reform(r[*, 0:*:4], n_elements(array) / 4)
>
> Mike
> --
> www.michaelgalloy.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get a very large 2D projected surface image
Next Topic: IDL with command line like input, (in EFTS -EUMETSAT)

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

Current Time: Sat Oct 11 03:17:12 PDT 2025

Total time taken to generate the page: 0.63842 seconds