pyriemann.utils.tangentspace.untangent_space(T, Cref, *, metric='riemann')

Transform tangent vectors back to matrices.

Transform tangent vectors back to matrices, according to a reference matrix Cref and to a specific exponential map.

Tndarray, shape (…, n * (n + 1) / 2)

Tangent vectors.

Crefndarray, shape (n, n)

Reference matrix.

metricstring | callable, default=”riemann”

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

Xndarray, shape (…, n, n)

Matrices in manifold.