Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

brainprep.interfaces.fsaveragesym_surfreg

brainprep.interfaces.fsaveragesym_surfreg(output_dir, entities)[source]

Interhemispheric surface-based registration using the fsaverage_sym template, and FreeSurfer’s xhemireg and surfreg.

Applies the interhemispheric cortical surface-based pre-processing described in [1]. This includes:

  1. Registers the right hemisphere to the left hemisphere within the subject’s own space.

  2. Registers the left hemisphere to the fsaverage_sym symmetric template.

  3. Registers the right hemisphere (already aligned to the left via xhemireg) to fsaverage_sym - use the interhemispheric registration surface (rh.sphere.reg.xhemi) instead of the standard one (rh.sphere.reg).

Parameters:
output_dirDirectory

FreeSurfer working directory containing all the subjects.

entitiesdict

A dictionary of parsed BIDS entities including modality.

Returns:
left_reg_fileFile

Left hemisphere registered to fsaverage_sym symmetric template.

right_reg_fileFile

Right hemisphere registered to fsaverage_sym symmetric template via xhemi.

Notes

  • Removing the left_reg_file if trying to resume.

References