mne.spatial_inter_hemi_connectivity

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

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

Parameters:

src : instance of SourceSpaces

The source space. Must be surface type.

dist : float

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

verbose : bool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

Returns:

connectivity : sparse COO matrix

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