AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
March 21, 2008 12:29PM
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

Subject Author Posted

help selecting timepoints from nodes

Adam March 21, 2008 11:28AM

Re: help selecting timepoints from nodes

rick reynolds March 21, 2008 12:29PM

Re: help selecting timepoints from nodes

Adam March 24, 2008 10:30PM