I want to map data from a surface domain(te_normalized at individual level) to an AFNI volume domain(group level),but it doesn't work. The script is as follows:
cd $spath/sub01/surface_files
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"/orig_files/ts_normalized_at+tlrc.nii.gz \
-sdata_1D "$hemi"_ts_normalized.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"_ts_normalized_sb
end