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

Home » Public Forums » archive » Re: Strange array division problem
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: Strange array division problem [message #66289 is a reply to message #66288] Tue, 05 May 2009 05:44 Go to previous messageGo to previous message
David Klassen is currently offline  David Klassen
Messages: 27
Registered: December 2004
Junior Member
On May 4, 7:52 pm, gianguido.cia...@gmail.com wrote:
>> how about:
>
>> a3d /= rebin(xcounts,z,y,x)
>
> oops:
>
> a3d /= transpose(rebin(xcounts, x, y, z), [1,2,0])

This seems to do it (well, without the transpose---I assume because
IDL
thinks of standard vectors as columns...?).

Thanks! And thanks for the tip on /= I never knew about [op]=
assignments.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: remove duplicate elements from a multi-dimensional array efficiently in IDL
Next Topic: How to judge a Function's parameters ?

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

Current Time: Thu Oct 09 22:23:47 PDT 2025

Total time taken to generate the page: 0.79962 seconds