bundles / scipy latest / scipy / spatial / transform / _rigid_transform / RigidTransform / as_exp_coords
function
scipy.spatial.transform._rigid_transform:RigidTransform.as_exp_coords
source: build-install/usr/lib/python3.14/site-packages/scipy/spatial/transform/_rigid_transform.py:1218
Signature
def as_exp_coords(self) → ArraySummary
Return the exponential coordinates of the transform.
Extended Summary
This implements the logarithmic map that converts SE(3) to 6-dimensional real vectors.
This is an inverse of from_exp_coords where details on the mapping can be found.
Returns
exp_coords: numpy.ndarray, shape (..., 6)Exponential coordinate vectors with the same leading dimensions as the transform. The first three components define the rotation and the last three components define the translation.
Examples
from scipy.spatial.transform import RigidTransform as Tf import numpy as np✓
Tf.identity().as_exp_coords()
✓array([0., 0., 0., 0., 0., 0.])
Aliases
scipy.spatial.transform.RigidTransform.as_exp_coords