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  

|
Jen
August 06, 2008 12:26PM

Yes, I'm trying to remove the residual motion effects from the original signal and pass that data to another program as well. Here's the 3dDeconvolve script:

# regress out the motion
3dDeconvolve -input $finput \
-polort 0 -jobs 2 -nodmbase \
-num_stimts 6 \
-stim_file 1 $mfile'[0]' -stim_label 1 roll -stim_minlag 1 0 -stim_maxlag 1 0 \
-stim_file 2 $mfile'[1]' -stim_label 2 pitch -stim_minlag 2 0 -stim_maxlag 2 0 \
-stim_file 3 $mfile'[2]' -stim_label 3 yaw -stim_minlag 3 0 -stim_maxlag 3 0 \
-stim_file 4 $mfile'[3]' -stim_label 4 IS -stim_minlag 4 0 -stim_maxlag 4 0 \
-stim_file 5 $mfile'[4]' -stim_label 5 RL -stim_minlag 5 0 -stim_maxlag 5 0 \
-stim_file 6 $mfile'[5]' -stim_label 6 AP -stim_minlag 6 0 -stim_maxlag 6 0 \
-errts mcres4-${run}

# now do up the the glm stuff
3dDeconvolve -input mcres4-$run+tlrc \
-mask $fmask \
-CENSORTR 0-5 195-206 \
-jobs 2\
-polort 3 -num_stimts 2 \
-stim_file 1 $file'[0]' -stim_label 1 mom -stim_minlag 1 0 -stim_maxlag 1 0 \
-stim_file 2 $file'[1]' -stim_label 2 stranger -stim_minlag 2 0 -stim_maxlag 2 0 \
-sresp 1 sd-$run-res4-mom \
-sresp 2 sd-$run-res4-stranger \
-fout -tout -rout -bout \
-bucket $run-res4-func -fitts $run-res4-fit -errts $run-res4-errts
Subject Author Posted

saving motion regressed data

Jen August 06, 2008 11:28AM

Re: saving motion regressed data

Gang Chen August 06, 2008 12:22PM

Re: saving motion regressed data

Jen August 06, 2008 12:26PM

Re: saving motion regressed data

Gang Chen August 06, 2008 01:00PM