mne.spatio_temporal_src_adjacency¶
- 
mne.spatio_temporal_src_adjacency(src, n_times, dist=None, verbose=None)[source]¶
- Compute adjacency for a source space activation over time. - Parameters
- srcinstance of SourceSpaces
- The source space. It can be a surface source space or a volume source space. 
- n_timesint
- Number of time instants. 
- distfloat, 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). If used, it should be passed as a keyword-argument only.
 
- srcinstance of 
- Returns
- adjacencycoo_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. 
 
- adjacency