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 ../