Note

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

nilearn.experimental.surface.Mesh

class nilearn.experimental.surface.Mesh[source]

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

__init__(*args, **kwargs)
n_vertices
coordinates
faces
to_gifti(gifti_file)[source]

Write surface mesh to a Gifti file on disk.

Parameters:
gifti_filepath-like or str

filename to save the mesh.