Dear fmriprep experts,
I found that when fmriprep does projection from EPI to fsaverage space, it equally samples 6 points between pial surface and white-matter surface and averages them. But instead, if I want to only pick the middle point of the ribbon, is there a way to modify fmriprep code to achieve this?
This line of code (https://github.com/poldracklab/fmriprep/blob/bbbb2a81734c4eb16331bbb08cb5f3b012e7a358/fmriprep/workflows/bold/resampling.py#L124) seems doing it. Can I achieve my goal by simply changing this line to be:
fs.SampleToSurface(sampling_method=‘average’, sampling_range=(0.5),
sampling_units=‘frac’, interp_method=‘trilinear’, cortex_mask=True,
override_reg_subj=True, out_type=‘gii’),
Thank you!
Regards,
Jingwei