pyeeg.preprocess.Whitener.cov
- Whitener.cov(data, axis=None)
Estimate the covariance matrix of
dataand store it inself.sigma.The covariance is computed as
data.T @ datascaled by the number of samples (optionally debiased by one whenself.biasis False).- Parameters:
- Returns:
sigma – The estimated covariance matrix.
- Return type:
ndarray (nchannels, nchannels)