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

pyriemann.utils.mean.mean_logeuclid

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

Return the mean covariance matrix according to the log-euclidean metric.

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

the mean covariance matrix