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

Home » Public Forums » archive » Re: Slicing a volume
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: Slicing a volume [message #36901 is a reply to message #36890] Tue, 04 November 2003 09:15 Go to previous messageGo to previous message
mmiller3 is currently offline  mmiller3
Messages: 81
Registered: January 2002
Member
>>>> > "Nuno" == Nuno Oliveira <df23775@hotmail.com> writes:

> Anyone had some time the same problem? Is the
> EXTRACT_SLICE the only solution?

One solution is to use reform to remove degenerate indices:

IDL> vol=INTARR(100,100,100)
IDL> sliceX=vol(50,*,*)
IDL> sliceY=vol(*,50,*)
IDL> sliceZ=vol(*,*,50)
IDL> help, sliceX
SLICEX INT = Array[1, 100, 100]
IDL> help, reform(sliceX)
<Expression> INT = Array[100, 100]


Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to solve a homogeneous system(Ax=0) with a gauss elimination method that x is not zero.
Next Topic: Automatic Updates to Coyote's Guide

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

Current Time: Sun Oct 12 17:10:58 PDT 2025

Total time taken to generate the page: 3.28467 seconds