mne.spatial_src_adjacency#
- mne.spatial_src_adjacency(src, dist=None, verbose=None)[source]#
Compute adjacency 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
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- srcinstance of
- Returns
- adjacency
coo_matrix
The adjacency matrix describing the spatial graph structure.
- adjacency
Examples using mne.spatial_src_adjacency
#
Permutation t-test on source data with spatio-temporal clustering
Permutation t-test on source data with spatio-temporal clustering
2 samples permutation test on source data with spatio-temporal clustering
2 samples permutation test on source data with spatio-temporal clustering
Repeated measures ANOVA on source data with spatio-temporal clustering
Repeated measures ANOVA on source data with spatio-temporal clustering