mne.spatial_src_connectivity¶
-
mne.
spatial_src_connectivity
(src, dist=None, verbose=None)[source]¶ Compute connectivity for a source space activation.
- Parameters
- srcinstance of
SourceSpaces
The source space. It can be a surface source space or a volume source space.
- dist
float
, orNone
Maximal geodesic distance (in m) between vertices in the source space to consider neighbors. If None, immediate neighbors are extracted from an ico surface.
- 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