mne.cov.
regularize
(cov, info, mag=0.1, grad=0.1, eeg=0.1, exclude='bads', proj=True, seeg=0.1, ecog=0.1, hbo=0.1, hbr=0.1, verbose=None)[source]¶Regularize noise covariance matrix.
This method works by adding a constant to the diagonal for each channel type separately. Special care is taken to keep the rank of the data constant.
Note
This function is kept for reasons of backward-compatibility.
Please consider explicitly using the method
parameter in
mne.compute_covariance()
to directly combine estimation
with regularization in a data-driven fashion.
See the faq
for more information.
Parameters: |
|
---|---|
Returns: |
|
See also
mne.cov.regularize
¶