pyriemann.geometry.covariance.covariances_EP¶
- pyriemann.geometry.covariance.covariances_EP(X, P, estimator='cov', **kwds)[source]¶
Special form covariance matrix, concatenating a prototype P.
- Parameters:
- Xndarray, shape (…, n_channels, n_times)
Multi-channel time-series.
- Pndarray, shape (n_channels_proto, n_times)
Multi-channel prototype.
- estimatorstring | callable, default=”cov”
Covariance matrix estimator, see
pyriemann.geometry.covariance.covariances().- **kwdsoptional keyword parameters
Any further parameters are passed directly to the covariance estimator.
- Returns:
- covmatsndarray, shape (…, n_channels + n_channels_proto, n_channels + n_channels_proto)
Covariance matrices.
Notes
Changed in version 0.12: Add support for NumPy and PyTorch.