pyeeg.preprocess.covariances
- pyeeg.preprocess.covariances(X, estimator='cov')
- Estimation of covariance matrices from a list of “trials”. - Parameters:
- X (array-like (ntrials, nsamples, nchannels) or list) – If list, each element can also have different number of samples, but the number of channels must be the same for all trials. 
- estimator (str) – One of covariance estimator from sklearn. See also - _check_est().
 
- Returns:
- C – The list of covariance matrices for each trial. 
- Return type:
- array-like (ntrials, nchannels, nchannels)