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
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).

Returns
connectivitycoo_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.