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

Home » Public Forums » archive » Re: idl array question
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: idl array question [message #60075 is a reply to message #60074] Fri, 02 May 2008 11:31 Go to previous message
David Fanning is currently offline  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.")
[Message index]
 
Read Message
Read Message
Previous Topic: idl array question
Next Topic: Re: iImage axes

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

Current Time: Sun Oct 12 14:51:50 PDT 2025

Total time taken to generate the page: 0.44590 seconds