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  

|
October 31, 2007 11:08AM
You need to apply 3dmaskave with the mask being defined by the ROI dataset and the input dataset being a timeseries dataset defined on the same 3D grid. For example:

3dmaskave -mask roi+orig -q epi+orig > aver.1D

For each sub-brick in the input dataset (epi+orig), the values from voxels which are nonzero in the mask (roi+orig) will be averaged and sent to stdout -- you can capture these to a file with the '> aver.1D' redirection. You can then plot that file with something like

1dplot aver.1D

If your roi+orig dataset has multiple ROIs defined in it, each with a different voxel value, then you can select a subset of the nonzero voxels with the '-mrange' option in 3dmaskave. As usual, see the output of

3dmaskave -help

for all the details.

Subject Author Posted

extracting average timecourse of an ROI

kim October 26, 2007 11:48AM

Re: extracting average timecourse of an ROI

Gang Chen October 26, 2007 01:43PM

Re: extracting average timecourse of an ROI

Daniel Glen October 26, 2007 02:00PM

Re: extracting average timecourse of an ROI

kim October 30, 2007 11:54PM

Re: extracting average timecourse of an ROI

bob cox October 31, 2007 11:08AM

Re: extracting average timecourse of an ROI

kim November 01, 2007 01:06PM

Re: extracting average timecourse of an ROI

Daniel Glen November 01, 2007 03:05PM

Re: extracting average timecourse of an ROI

rick reynolds November 01, 2007 03:09PM

Re: extracting average timecourse of an ROI

kim November 07, 2007 02:57PM

Re: extracting average timecourse of an ROI

rick reynolds November 07, 2007 03:20PM

Re: extracting average timecourse of an ROI

kim November 08, 2007 09:53PM

Re: extracting average timecourse of an ROI

rick reynolds November 11, 2007 12:08PM

Re: extracting average timecourse of an ROI

Joe Paxton March 04, 2008 05:46PM

Re: extracting average timecourse of an ROI

rick reynolds March 04, 2008 06:32PM

Re: extracting average timecourse of an ROI

Joe Paxton March 04, 2008 07:54PM

Re: extracting average timecourse of an ROI

rick reynolds March 04, 2008 09:49PM