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

pyriemann.utils.distance.distance_riemann

pyriemann.utils.distance.distance_riemann(A, B)[source]

Riemannian distance between two covariance matrices A and B.

d=(ilog(λi)2)1/2

where λi are the joint eigenvalues of A and B

Parameters:
  • A – First covariance matrix
  • B – Second covariance matrix
Returns:

Riemannian distance between A and B