Hi all,
I have an array called data that is 1000, 4000. I also have a two dimensional array of subscripts that I would like to apply to only the first dimension of the data array.
IDL> help, data
DATA FLOAT = Array[1000, 4000]
IDL> help, subs
SUBS LONG64 = Array[21, 4]
The result I want is [21, 4, 4000]. However, I can't quite figure out how to get that. For example:
IDL> help, data[[subs],*]
FLOAT = Array[84, 4000]
Does anyone see how to make this happen? Thanks in advance!
S-
|