mne.connectivity.degree¶
- mne.connectivity.degree(connectivity, threshold_prop=0.2)[source]¶
Compute the undirected degree of a connectivity matrix.
- Parameters
- Returns
- degree
ndarray
, shape (n_nodes,) The computed degree.
- degree
Notes
During thresholding, the symmetry of the connectivity matrix is auto-detected based on
numpy.allclose()
of it with its transpose.