I want to map the" ts_normalized" surf_file to the AFNI volume domain(group level), however, the brick datasets in the generated "lh/rh_ts_normalized_sb_tlrc" file don't have same number of volumes with the original "ts_normalized_tlrc" file.
Why?
foreach infile(ts_normalized)
foreach hemi (lh rh)
3dSurf2Vol \
-spec $spath/group/freesurfer/SUMA/subAvg_"$hemi"+tlrc.spec \
-surf_A smoothwm \
-surf_B pial \
-sv $spath/group/subAvg_SurfVol_at+tlrc.nii.gz \
-grid_parent "$spath"/"$sub"/"$infile"_at+tlrc.nii.gz \
-sdata_1D "$hemi"_"$infile".1D \
-datum float \
-map_func max_abs \
-f_steps 15 \
-f_index voxels \
-f_p1_fr -0.2 -f_pn_fr 0.4 \
-prefix ./"$hemi"_"$infile"_sb
end