pyriemann.geometry.tangentspace.exp_map¶
- pyriemann.geometry.tangentspace.exp_map(X, Cref, *, metric='riemann', **kwargs)[source]¶
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.
- **kwargsdict
The keyword arguments passed to the sub function.
Added in version 0.12.
- Returns:
- X_originalndarray, shape (…, n, n)
Matrices in manifold.
Notes
Added in version 0.9.
Changed in version 0.12: Add support for NumPy and PyTorch.