Hey Rick,
I'm confused because I went back and ran afni_proc.py without applying any mask to the first-level models. However, the data should be warped to tailarach space. From what I gathered from the masks section in the afni_proc.py help page, the common strategy is to apply a mask at the group level that is a mask based on the tailarach anatomical template TT_N27+tlrc.
So I tried to include this mask at the group level and got the error that I discussed in my first post on this thread:
FATAL ERROR: -mask doesn't match datasets number of voxels
What is the problem and what should I do instead?
Thanks!!
Mel
afni_proc.py \
-subj_id ${SUBNUM} \
-dsets ${EXPDIR}${SUBNUM}/${RUN1DIR}/${SUBNUM}_r1+orig ${EXPDIR}${SUBNUM}/${RUN2DIR}/${SUBNUM}_r2+orig \
-blocks tshift align tlrc volreg blur mask scale regress \
-copy_anat ${EXPDIR}${SUBNUM}/${T1DIR}/t1+orig \
-execute \
-outlier_count yes \
-tshift_interp -Fourier \
-volreg_align_e2a \
-volreg_tlrc_warp \
-test_stim_files no \
-blur_size 8.0 \
-gen_epi_review review_orig_EPI.txt \
-regress_stim_times ${EXPDIR}${SUBNUM}/onset_files/scan1to2NPB.1D \
${EXPDIR}${SUBNUM}/onset_files/scan1to2NPNB.1D \
${EXPDIR}${SUBNUM}/onset_files/scan1to2PB.1D \
${EXPDIR}${SUBNUM}/onset_files/scan1to2PNB.1D \
-regress_stim_types AM1 AM1 AM1 AM1 \
-regress_stim_labels nopickandbid nopickandnobid pickandbid pickandnobid \
-regress_est_blur_errts \
-regress_opts_3dD -xout -xjpeg designmatrix.jpg -overwrite -tout -fout \
-allzero_OK \
-GOFORIT 10 \
-num_glt 6 \
-glt_label 1 optout-bid -gltsym 'SYM: +nopickandnobid +pickandnobid -pickandbid -nopickandbid' \
-glt_label 2 chosen-notchosen -gltsym 'SYM: +pickandbid +pickandnobid -nopickandnobid -nopickandbid' \
-glt_label 3 Optout-bid_chosen -gltsym 'SYM: +pickandnobid -pickandbid' \
-glt_label 4 Optout-bid_notchosen -gltsym 'SYM: +nopickandnobid -nopickandbid' \
-glt_label 5 Optout -gltsym 'SYM: +pickandnobid +nopickandnobid' \
-glt_label 6 Bid -gltsym 'SYM: +pickandbid +nopickandbid'