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  

|
March 05, 2021 07:34PM
Also, a "funny" story about why I am trying to use 3dDeconvolve this way. I had an afni_proc.py script that looped over participants set up, and I ran it, but I ended up with no 'stats' files (however, I had pb05 BRIKs for all the participants). This script worked before--the only change I made was the blur size. Is it possible that for some reason increasing the FWHM would make the regression step fail?

(I deleted most of the results folders due to limited server space).

Thanks.

-----------------------------------------
#!/bin/tcsh

#based on AFNI help for afni_proc.py example 6. tcat_remove changed to 5; tlrc default to TT_27;
#[afni.nimh.nih.gov]

foreach subj (304 305 306 307 309 311 312 313 315 316 317 318 319 320 321 323 324 325 326)

cd ${subj}


afni_proc.py -subj_id ${subj} \
-copy_anat XFC_${subj}_structural+orig \
-dsets XFC_${subj}_00005+orig XFC_${subj}_00006+orig XFC_${subj}_00007+orig XFC_${subj}_00008+orig XFC_${subj}_00009+orig XFC_${subj}_00010+orig\
-blocks despike tshift align tlrc volreg blur mask \
scale regress \
-tcat_remove_first_trs 5 \
-align_opts_aea -cost lpc+ZZ \
-volreg_align_to MIN_OUTLIER \
-volreg_align_e2a \
-volreg_tlrc_warp \
-mask_epi_anat yes \
-blur_size 8 \
-regress_stim_times \
XFC${subj}FarFracFrac.txt \
XFC${subj}NearFracFrac.txt \
XFC${subj}MedFracFrac.txt \
XFC${subj}FarFracLine.txt \
XFC${subj}NearFracLine.txt \
XFC${subj}MedFracLine.txt \
XFC${subj}FarLineLine.txt \
XFC${subj}NearLineLine.txt \
XFC${subj}MedLineLine.txt \
-regress_stim_labels farff nearff meDFf \
farfl \
nearfl \
medfl \
farll \
nearll \
medll \
-regress_basis 'BLOCK(6,1)' \
-regress_motion_per_run \
-regress_censor_motion .3 \
\
-regress_opts_3dD \
-gltsym 'SYM: +nearff +nearfl +nearll -farff -farfl -farll' \
-glt_label 1 all_near_far \
-gltsym 'SYM: +nearff -farff' \
-glt_label 2 FF_near_far \
-gltsym 'SYM: + +nearll -farll' \
-glt_label 3 LL_near_far \
-gltsym 'SYM: +nearfl -farfl' \
-glt_label 4 FL_near_far \
-regress_est_blur_epits \
-regress_est_blur_errts



tcsh -xef proc.${subj} |& tee output.proc.${subj}

mkdir $subj.keep

mv $subj.results/*stats* $subj.keep/

mv $subj.results/pb05* $subj.keep/

mv $subj.results/anat_final* $subj.keep/

mv $subj.results/anat_w* $subj.keep/

mv $subj.results/*.1D $subj.keep/

#rm -r -f $subj.results

cd ../
Subject Author Posted

3dDeconvolve Question

pkalra2 March 05, 2021 07:30PM

Re: 3dDeconvolve Question

pkalra2 March 05, 2021 07:34PM

Re: 3dDeconvolve Question

pkalra2 March 10, 2021 08:50PM

Re: 3dDeconvolve Question

RWCox March 11, 2021 11:50AM

Re: 3dDeconvolve Question

pkalra2 March 12, 2021 12:58PM

Re: 3dDeconvolve Question

RWCox March 13, 2021 01:33PM

Re: 3dDeconvolve Question

pkalra2 March 15, 2021 06:19PM

Re: 3dDeconvolve Question

RWCox March 15, 2021 08:41PM