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

Home » Public Forums » archive » How to rebin complex 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
How to rebin complex array? [message #39023] Tue, 13 April 2004 15:57
Yunxiang Zhang is currently offline  Yunxiang Zhang
Messages: 19
Registered: October 2003
Junior Member
Folks,

I wanna do the following thing as fast as possible.

;creat a complex array
a=complexarr(na)
;replicate the array k times
b=rebin(a,na,k)

But rebin won't accept complex array. :( What should I do?

Another similiar question is what is the best solution to replicate a 2d
image eg dist(512,512) k times to get a k-frame "still movie" as a 3d array
movie(512,512,k) without using any loops?

Thanks,

Yunxiang
--
[Message index]
 
Read Message
Previous Topic: Re: 2d where
Next Topic: Announcing GDL 0.7.2, now with python support

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

Current Time: Sun Oct 12 09:36:54 PDT 2025

Total time taken to generate the page: 2.08194 seconds