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 25, 2007 10:44AM
My understanding:
Input Dataset = your data
Stim timing = a 1D file where a 1 represents the onset of where you want to start averaging. So if you're doing event related, you pretty much just leave your stim file alone, but if you're doing block, you should change the file so there is a 1 at the beginning of each epoch. (Like its one big event).

then set maxlength to the number of time points after the onset that you want to average.

So if you want to average the 2 time points before the onset and 8 time points after, you'd change your timing 1D file so that there is a 1 two frames before the onset of your stimulus. Then you'd put max length of 10.

But I am just guessing from the relatively brief help file.

probably best to do as dr. cox suggested and use 3dTcat / 3dMean

I have a couple scripts that could be useful, if you're interested.
Subject Author Posted

Single Trial Average plugin

Bob Moulton October 23, 2007 04:36PM

Re: Single Trial Average plugin

Drew October 25, 2007 10:44AM