Loading [MathJax]/jax/output/HTML-CSS/jax.js

pyriemann.utils.mean.mean_euclid

pyriemann.utils.mean.mean_euclid(covmats, sample_weight=None)[source]

Return the mean covariance matrix according to the euclidean metric :

C=1NiCi
Parameters:
  • covmats – Covariance matrices set, Ntrials X Nchannels X Nchannels
  • sample_weight – the weight of each sample
Returns:

the mean covariance matrix