pyriemann.utils.geodesic.geodesic_logeuclid¶

pyriemann.utils.geodesic.geodesic_logeuclid(A, B, alpha=0.5)[source]

Return the matrix at the position alpha on the log euclidean geodesic between A and B :

$\mathbf{C} = \exp \left( (1-\alpha) \log(\mathbf{A}) + \alpha \log(\mathbf{B}) \right)$

C is equal to A if alpha = 0 and B if alpha = 1

Parameters: A – the first coavriance matrix B – the second coavriance matrix alpha – the position on the geodesic the covariance matrix