Hi Adam,
You should be able to use sub-brick selectors normally
to select time points: '[3,5,6,18,24]'.
To get the index list from a binary timing file, binary.1D:
# replace 1's with time index, and 0's with -1, then remove any -1
1deval -a binary.1D -expr 'a*t-equals(a,0)' | grep -v '\-1' > index_list.1D
# separate with commas (need to transpose first):
1dcat -form '%d,' index_list.1D\' > selector.string
Then use that in your ConvertDset command to select
the columns: -input dset.niml.dset"[`cat selector.string`]"
You could stick the 1dcat command directly in place of 'cat'
on its result, too, but only to irritate your co-workers.
- rick