mne.spatial_inter_hemi_adjacency#
- mne.spatial_inter_hemi_adjacency(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.
- dist
float
Maximal Euclidean distance (in m) between vertices in one hemisphere compared to the other to consider neighbors.
- 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. Typically this should be combined (addititively) with another existing intra-hemispheric adjacency matrix, e.g. computed using geodesic distances.
- adjacency