enigmatoolbox.datasets.load_fsa5

enigmatoolbox.datasets.load_fsa5(as_sphere=False, with_normals=True, join=False, with_sctx=False)[source]

Load fsaverage5 surfaces (author: @saratheriver)

Parameters:
  • as_sphere (bool, optional) – Return spheres instead of cortical surfaces. Default is False.
  • with_normals (bool, optional) – Whether to compute surface normals. Default is True.
  • join (bool, optional) – If False, return one surface for left and right hemispheres. Otherwise, return a single surface as a combination of both left and right surfaces. Default is False.
  • with_sctx (bool, optional) – If False, returns cortical surfaces/spheres only, if True, returns combined cortical+subcortical surfaces. Default is False
Returns:

surf – Surfaces for left and right hemispheres. If join == True, one surface with both hemispheres.

Return type:

tuple of BSPolyData or BSPolyData