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

Home » Public Forums » archive » Re: Array extraction, multiple slices from paired values
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: Array extraction, multiple slices from paired values [message #42423 is a reply to message #42421] Sat, 05 February 2005 15:01 Go to previous messageGo to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
Not what I wanted. See, each row of LOC is an XY pair corresponding to
a location. So the 4x4xt output from the command in your post gives me
the 4 time series I want, plus 12 others I don't want, and doesn't get
me any closer to extracting them. I need to get 2-dimensional output.
In loop form, this would work like this:
WHAT_I_WANT = fltarr(NLOC,NT)
for I=0,NLOC-1 do WHAT_I_WANT[I,*]=SUBDATA[LOC[0,I],LOC[1,I],*]

Which works great, but that step is currently 75% of the total
processor time for my script, which seems excessive, since it's not a
processing step at all but a simple subset.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Drawing lines on image and obtaining points of intersection
Next Topic: Re: Catalyst Library

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

Current Time: Sat Oct 11 09:08:53 PDT 2025

Total time taken to generate the page: 0.15879 seconds