> I would like to plot (horizontal lines with the low frequencies regressed out, only stimulus related signal + noise)
You can add options -cbucket and -x1D in 3dDeconvolve to obtain all the regression coefficients and the model (design) matrix. Then get the effects of no interest:
3dSynthesize -cbucket CbucketFileFrom3dDeconvolve+orig -matrix x1DFrom3dDeconvolve -select ... -prefix EffectsOfNoInterest
And finally have the "cleaned" data by removing the effects of no interest from the original signal with 3dcalc:
3dcalc -a InputFor3Deconvolve -b EffectsOfNoInterest -expr 'a-b' -prefix CleanedData
Gang
Edited 1 time(s). Last edit at 08/02/2013 04:03PM by Gang.