mne.spatial_tris_connectivity¶
-
mne.
spatial_tris_connectivity
(tris, remap_vertices=False, verbose=None)[source]¶ Compute connectivity 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
, orNone
If not None, override default verbose level (see
mne.verbose()
and Logging documentation for more).
- tris
- Returns
- connectivity
coo_matrix
The connectivity matrix describing the spatial graph structure.
- connectivity