pyriemann.utils.tangentspace.exp_map_euclid¶
- pyriemann.utils.tangentspace.exp_map_euclid(X, Cref)¶
Project matrices back to manifold by Euclidean exponential map.
The projection of a matrix \(\mathbf{X}\) from tangent space to manifold with Euclidean exponential map according to a reference matrix \(\mathbf{C}_\text{ref}\) is:
\[\mathbf{X}_\text{original} = \mathbf{X} + \mathbf{C}_\text{ref}\]- Parameters:
- Xndarray, shape (…, n, m)
Matrices in tangent space.
- Crefndarray, shape (n, m)
Reference matrix.
- Returns:
- X_originalndarray, shape (…, n, m)
Matrices in manifold.
Notes
Added in version 0.4.