|
Re: idl array question [message #60075 is a reply to message #60074] |
Fri, 02 May 2008 11:31  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
ikevi10@gmail.com writes:
> So if I define my arrayleft:
> arrayleft=original(*,*,0,*)
> arrayright=original(*,*,1,*)
>
> I am still left with an 4 index array (one index is 1 though... which
> I just want to get rid of)
I would try this:
arrayleft=reform(original(*,*,0,*))
arrayright=reform(original(*,*,1,*))
REFORM, used like this, will remove all dimensions of
length 1.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|