¥ STEP 5: Compute a voxel-by-voxel mean percent signal change
--  including only time lags 4-9 -- with
AFNI 3dTstat
     including only time lags 4-9 -- with
AFNI 3dTstat
 
GThe following 3dTstat command will focus only on time lags 4-9, and compute the mean for those
lags
GThis will be done on
a voxel-by-voxel basis, and for each IRF dataset, of which we have four: TMirf, HMirf, TPirf, HPirf
å foreach cond (TM HM
TP HP)
foreach cond (TM HM
TP HP)
 
å 3dTstat
3dTstat -prefix ED_{$cond}_irf_mean  \
-prefix ED_{$cond}_irf_mean  \
 
å {$cond}irf+origÕ[4..9]Õ
 {$cond}irf+origÕ[4..9]Õ
 
å end
end
 
å