netneurotools.interface.extract_cifti_surface

netneurotools.interface.extract_cifti_surface(data, axis, surf_name)[source]

Extract surface data from CIFTI file.

Adapted from [1].

Parameters:
  • data (np.ndarray) – Data from CIFTI file.

  • axis (nibabel.cifti2.BrainModelAxis) – BrainModelAxis object from CIFTI file.

  • surf_name (str) – Name of surface.

Returns:

surf_data – Surface data.

Return type:

np.ndarray

References