mne.spatial_tris_adjacency#
- mne.spatial_tris_adjacency(tris, remap_vertices=False, verbose=None)[source]#
Compute adjacency from triangles.
- Parameters:
- tris
array
N x 3 array defining triangles.
- remap_verticesbool
Reassign vertex indices based on unique values. Useful to process a subset of triangles. Defaults to False.
- verbosebool |
str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- tris
- Returns:
- adjacency
coo_matrix
The adjacency matrix describing the spatial graph structure.
- adjacency