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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: idl array question [message #60074] Fri, 02 May 2008 11:51
ikevi10 is currently offline  ikevi10
Messages: 4
Registered: May 2008
Junior Member
Awsome, don't know why I couldn't find that call. But thanks a lot.
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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: idl array question
Next Topic: Re: iImage axes

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

Current Time: Sat Oct 11 13:53:51 PDT 2025

Total time taken to generate the page: 1.19945 seconds