mne.spatial_dist_connectivity¶
-
mne.
spatial_dist_connectivity
(src, dist, verbose=None)[source]¶ Compute connectivity from distances in a source space.
- Parameters
- srcinstance of
SourceSpaces
The source space must have distances between vertices computed, such that src[‘dist’] exists and is useful. This can be obtained using MNE with a call to mne_add_patch_info with the –dist option.
- dist
float
Maximal geodesic distance (in m) between vertices in the source space to consider neighbors.
- verbosebool,
str
,int
, orNone
If not None, override default verbose level (see
mne.verbose()
and Logging documentation for more).
- srcinstance of
- Returns
- connectivity
coo_matrix
The connectivity matrix describing the spatial graph structure.
- connectivity