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.surface.SurfaceMesh¶
- class nilearn.surface.SurfaceMesh[source]¶
A surface mesh having vertex, coordinates and faces (triangles).
Added in Nilearn 0.11.0.
- Attributes:
- n_verticesint
number of vertices
- abstract property coordinates¶
Get x, y, z, values for each mesh vertex.
- abstract property faces¶
Get array of adjacent vertices.
- n_vertices¶
- to_gifti(gifti_file)[source]¶
Write surface mesh to a Gifti file on disk.
- Parameters:
- gifti_file
strorpathlib.Path Filename to save the mesh to.
- gifti_file