mne.spatio_temporal_dist_connectivity¶

mne.
spatio_temporal_dist_connectivity
(src, n_times, dist, verbose=None)[source]¶ Compute connectivity from distances in a source space and time instants.
 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 with a call to
mne.setup_source_space()
with theadd_dist=True
option. n_times
int
Number of time points
 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 spatiotemporal 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.
 connectivity