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

pyriemann.utils.mean.mean_harmonic

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

Return the harmonic mean of a set of covariance matrices.

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

the mean covariance matrix