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

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

srcinstance of SourceSpaces

The source space. Must be surface type.


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

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.


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.