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  

|
December 30, 2003 08:43AM
Hi Kenneth,

If you want to generate an average time series for
voxels in a mask, you can do it using 3dROIstats.
If epi+orig is my 160 time point EPI dataset, and
mask_epi+orig is a mask that I want to apply to it,
then the command:

3dROIstats -mask mask_epi+orig epi+orig

will generate an average value over the mask, for
each sub-brick, i.e. an average time series.

To test it out without having a good mask, you can
generate one on the fly in the 3dROIstats command.
Let's say you want to mask all voxels in sub-brick
zero with a value above 3000.

3dROIstats -mask '3dcalc( -a epi+orig[0] -expr step(a-3000) )' epi+orig

Is this what you are looking for?

- rick

Subject Author Posted

time course of ROI

kenneth kwong December 29, 2003 11:07PM

Re: time course of ROI

rick reynolds December 30, 2003 08:43AM