Hi, Brady-
Re. censor things:
I was just looking through an proc* script output for afni_proc.py that has been run recently. I think you want to look at the start of the regress block part of the script-- in my proc* script, there were lines like this:
# ================================ regress =================================
# compute de-meaned motion parameters (for use in regression)
1d_tool.py -infile dfile_rall.1D -set_nruns 1 \
-demean -write motion_demean.1D
# compute motion parameter derivatives (just to have)
1d_tool.py -infile dfile_rall.1D -set_nruns 1 \
-derivative -demean -write motion_deriv.1D
# create censor file motion_${subj}_censor.1D, for censoring motion
1d_tool.py -infile dfile_rall.1D -set_nruns 1 \
-show_censor_count -censor_prev_TR \
-censor_motion 0.2 motion_${subj}
# combine multiple censor files
1deval -a motion_${subj}_censor.1D -b outcount_${subj}_censor.1D \
-expr "a*b" > censor_${subj}_combined_2.1D
The complete censor file depends also on the outlier calc from before, too, in the "outcount" section, where I had something like:
# catenate outlier censor files into a single time series
cat rm.out.cen.r*.1D > outcount_${subj}_censor.1D
Hope that's useful, and please ping back with any follow-up questions.
--pt