pytransform3d.rotations.check_compact_axis_angle

pytransform3d.rotations.check_compact_axis_angle(a)[source]

Input validation of compact axis-angle representation.

Parameters:
aarray-like, shape (3,)

Axis of rotation and rotation angle: angle * (x, y, z)

Returns:
aarray, shape (3,)

Validated axis of rotation and rotation angle: angle * (x, y, z)

Raises:
ValueError

If input is invalid