Compute adjacency from distances in a source space and time instants.
SourceSpaces
The source space must have distances between vertices computed, such
that src[‘dist’] exists and is useful. This can be obtained
with a call to mne.setup_source_space()
with the
add_dist=True
option.
int
Number of time points.
float
Maximal geodesic distance (in m) between vertices in the source space to consider neighbors.
str
| int
| None
Control verbosity of the logging output. If None
, use the default
verbosity level. See the logging documentation and
mne.verbose()
for details. Should only be passed as a keyword
argument.
coo_matrix
The adjacency matrix describing the spatio-temporal graph structure. If N is the number of vertices in the source space, the N first nodes in the graph are the vertices are time 1, the nodes from 2 to 2N are the vertices during time 2, etc.