pyriemann.utils.geodesic.geodesic

pyriemann.utils.geodesic.geodesic(A, B, alpha, metric='riemann')[source]

Return the matrix at the position alpha on the geodesic between A and B according to the metric :

Parameters:
  • A – the first coavriance matrix
  • B – the second coavriance matrix
  • alpha – the position on the geodesic
  • metric – the metric (Default value ‘riemann’), can be : ‘riemann’ , ‘logeuclid’ , ‘euclid’
Returns:

the covariance matrix on the geodesic