pyriemann.utils.tangentspace.exp_map

pyriemann.utils.tangentspace.exp_map(X, Cref, *, metric='riemann')

Project matrices back to manifold by exponential map.

Parameters:
Xndarray, shape (…, n, n)

Matrices in tangent space.

Crefndarray, shape (n, n)

Reference matrix.

metricstring | callable, default=”riemann”

Metric used for exponential map, can be: “euclid”, “logchol”, “logeuclid”, “riemann”, “wasserstein”, or a callable function.

Returns:
X_originalndarray, shape (…, n, n)

Matrices in manifold.

Notes

Added in version 0.9.