mne.spatial_inter_hemi_adjacency

mne.spatial_inter_hemi_adjacency(src, dist, verbose=None)[source]

Get vertices on each hemisphere that are close to the other hemisphere.

Parameters
srcinstance of SourceSpaces

The source space. Must be surface type.

distfloat

Maximal Euclidean distance (in m) between vertices in one hemisphere compared to the other to consider neighbors.

verbosebool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more). If used, it should be passed as a keyword-argument only.

Returns
adjacencycoo_matrix

The adjacency matrix describing the spatial graph structure. Typically this should be combined (addititively) with another existing intra-hemispheric adjacency matrix, e.g. computed using geodesic distances.