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  

|
May 19, 2006 04:05PM
Hi Adam,

Daniel Glen reminded me that your point is to do the detrending
on a concatenation of runs, for which 3dDetrend is not equipt.

That leaves the choices of detrending the runs individually for
3dDetrend, or using 3dDeconvolve to do the detrending.

Since it is clear how to break the runs up for 3dDetrend, let me
just mention using 3dDeconvolve. To do that, set the AFNI_1D_TIME
variable, use the same 3dmaskave command for 3dDetrend, and apply
the same 3dDeconvolve command, but using your 3dmaskave output.

i.e.

setenv AFNI_1D_TIME Y

echo `3dmaskave -mask Subj_ROIs+orig -mrange 1 1 -quiet \
Subjallruns+orig` > Subj_ROIave.1D

3dDeconvolve -mask Subj_ROIs+orig -input Subj_ROIave.1D \
-fdisp 123456 -concat cat1.txt -polort 2 -num_stimts 0 \
-errts Subj_ROIave_detrend

Also, the Subj_ROIave_detrend output of 3dDeconvolve will have no
header information that you would otherwise need to strip off.

- rick

Subject Author Posted

detrending and ROIs

Adam Greenberg May 19, 2006 08:52AM

Re: detrending and ROIs

rick reynolds May 19, 2006 09:09AM

Re: detrending and ROIs

Adam Greenberg May 19, 2006 01:31PM

Re: detrending and ROIs

rick reynolds May 19, 2006 01:52PM

Re: detrending and ROIs

Adam Greenberg May 19, 2006 03:59PM

Re: detrending and ROIs

rick reynolds May 19, 2006 04:05PM

Re: detrending and ROIs

Adam Greenberg May 19, 2006 04:41PM

Re: detrending and ROIs

Ziad Saad May 19, 2006 04:55PM

Re: detrending and ROIs

Daniel Glen May 19, 2006 08:46PM