Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Community » Message Board

History of AFNI updates   Suggested reading for beginners   Add yourself to the AFNI map!

Re: mask at group level

|
July 19, 2012 10:47AM
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'
Subject Author Posted

mask at group level

lianablair July 11, 2012 03:38PM

Re: mask at group level

Isaac Schwabacher July 11, 2012 04:20PM

Re: mask at group level

rick reynolds July 11, 2012 04:31PM

Re: mask at group level

lianablair July 19, 2012 10:47AM

Re: mask at group level

Peter Molfese July 19, 2012 12:23PM

Re: mask at group level

lianablair July 19, 2012 01:30PM

Re: mask at group level

rick reynolds July 19, 2012 09:09PM

Re: mask at group level

mapguy July 20, 2012 10:21AM

Re: mask at group level

Gang July 20, 2012 11:38AM



Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
CAPTCHA
Message:

Powered by Plone

phorum.org

This site conforms to the following standards: