Hi Daniel,
The command I used to generate the matrix is:
3dAllineate -prefix anat_within_aligned -base ${subj}_avg_anat+orig -1Dmatrix_save align_to_avg -source anat+orig
And then I used that matrix in afni_proc.py:
afni_proc.py -subj_id $subj.vol \
-blocks tshift align volreg scale \
-copy_anat ${subj}_avg_anat+orig \
-dsets run_*+orig.HEAD \
-tcat_remove_first_trs 0 \
-align_opts_aea -pre_matrix $top_dir/align_to_avg.aff12.1D -cost lpa -partial_coverage -anat_has_skull 'no' \
-volreg_align_to MIN_OUTLIER \
-volreg_align_e2a \
-scr_overwrite \
-execute
The matrix doesn't have any problem when I did surface analysis. But when I tried to use the same matrix to do the volume based analysis, it gave me that error.
Sarah