nilearn.surface: Manipulating Surface Data

Functions for surface manipulation.

Classes

FileMesh(file_path)

A surface mesh stored in a Gifti or Freesurfer file.

InMemoryMesh(coordinates, faces)

A surface mesh stored as in-memory numpy arrays.

PolyData([left, right, squeeze_on_save])

A collection of data arrays.

PolyMesh([left, right])

A collection of meshes.

SurfaceImage(mesh, data[, squeeze_on_save])

Surface image containing meshes & data for both hemispheres.

SurfaceMesh()

A surface mesh having vertex, coordinates and faces (triangles).

Functions

load_surf_data(surf_data)

Load data to be represented on a surface mesh.

load_surf_mesh(surf_mesh)

Load a surface mesh geometry.

vol_to_surf(img, surf_mesh[, radius, ...])

Extract surface data from a Nifti image.