This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / 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) → Array

Summary

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
✓
Get exponential coordinates of the identity matrix:
Tf.identity().as_exp_coords()
✓
array([0., 0., 0., 0., 0., 0.])

Aliases

  • scipy.spatial.transform.RigidTransform.as_exp_coords