I have a question about the examples in afni_proc.py help where #9 uses anaticor and says: Note that -regress_anaticor implies options -mask_segment_anat and -mask_segment_erode, and #10 says: Like example #9, but also regress the eroded white matter averages. (and includes options mask_segment_anat yes -mask_segment_erode yes as well as -regress_ROI WMe). I would think the mask_segment_ant and erode options would take place of the anaticor option, however, when I run #10 as in the example, it doesn’t take a lot of time whereas running #9 does.
Should I still be including -regress_anaticor in example #10 even though the segment anat and segment erode options are specified? Below is the script including all of the regressors - it doesn’t give me an error
I will update that help to explicitly state that Example 10
does not do anaticor (regress local white matter). Those
segment and erode options are used to make a WMe mask, but
unless -regress_anaticor (or -regress_anaticor_fast) is
specified, the ANANTICOR operation is not applied.
The ANATICOR part of Example 10 was removed because it was
strange to regress average white matter as well as local
white matter (though it was supposed to be a demonstration
of what one could do).
In any case, I will mention that Example 10 does not apply
the ANATICOR step.
Thanks,
rick
P.S. Yes, -regress_anaticor_fast is faster than -regress_anaticor.
It uses a slightly different (but much faster) method.
Example 10 says:
Like example #9, but also regress the eroded white matter averages.
The WMe mask come from the Classes dataset, created by 3dSeg via the
-mask_segment_anat and -mask_segment_erode options.
I just wasn’t sure if in example 10, the -mask_segment_anat and -mask_segment_erode options = -regress_anaticor in example 9b… because 9b says:
Like example #9, but also regress out the signal from locally
averaged white matter. The only change is adding the option
-regress_anaticor.
[b]Note that -regress_anaticor implies options -mask_segment_anat and
-mask_segment_erode.[/b]
In other words, does the -mask_segment options in #10 take place of the -regress_anaticor option in #9b. And when you use anaticor, doesn’t it use the WMe segment anyway -
(3dTproject -polort 0 -input pb04.babydoll.r01.scale+orig.HEAD pb04.babydoll.r02.scale+orig.HEAD pb04.babydoll.r03.scale+orig.HEAD pb04.babydoll.r04.scale+orig.HEAD pb04.babydoll.r05.scale+orig.HEAD pb04.babydoll.r06.scale+orig.HEAD -censor censor_babydoll_combined_2.1D -cenmode ZERO -dsort Local_WMe_rall+orig -ort X.nocensor.xmat.1D -prefix errts.babydoll.anaticor)
So, how are there options different besides the obvious align to MIN_OUTLIER ?
Unless you provide a mask to use for -regress_anaticor,
it will imply -mask_segment_anat and -mask_segment_erode
(since an eroded WM mask is required). So -regress_anaticor
implies both -mask_segment_anat and -mask_segment_erode.
So Example 9b would be unchanged if those -mask options
were added. It is merely for convenience that using
-regress_anaticor implies those -mask options, too.
But the converse does not hold. Options -mask_segment_anat
and -mask_segment_erode do not imply anaticor.
The anaticor process is not run unless it is asked for.
Example 10 does not ask for anaticor. It uses those -mask
options to create a WMe mask, but that is actually applied
via “-regress_ROI WMe”. That is to say, in this example
the average white matter signal is regressed out, not a
local one (anaticor).
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.