Hi!
I have always been quite confused about when the errts-file is generated.
When running a resting state scenario with afni-proc (no stim files) I always get the errts-tproject or errts.anaticor file. This is because the command
3dTproject -polort 0 -input pb01.$sub_id.r01.volreg+orig.HEAD -censor motion_${sub_id}_censor.1D -cenmode ZERO -ort X.nocensor.xmat.1D -prefix errts.${sub_id}.tproject
When running a task analysis you don’t get the errts.file automatically, even though it sometimes might be interesting to see what the time series of everything unexplained looks like. This even though the 3dDeconvolve command has the -errts and -fiits keywords.
So why does the following command not spit out the errts-file? I have to add the 3dTproject code segment after this code. This is relevant since I run a stand alone 3dDeconvolve command and I would like it to give me the errts file since the stimfiles are just motion.
3dDeconvolve -input pb01.${sub_id}.r*.volreg+orig.HEAD \
-censor motion_${sub_id}_censor.1D \
-polort 1 \
-num_stimts 6 \
-stim_file 1 $real_time_analysis/${sub_id}.results/motion_demean.1D'[0]' -stim_base 1 -stim_label 1 roll_01 \
.....
-stim_file 6 $real_time_analysis/${sub_id}.results/motion_demean.1D'[5]' -stim_base 6 -stim_label 6 dP_01 \
-fout -tout -x1D X.xmat.1D -xjpeg X.jpg \
-x1D_uncensored X.nocensor.xmat.1D \
-fitts fitts.$sub_id \
-errts errts.$sub_id \
-x1D_stop \
-bucket stats.$sub_id
Thanks!