pytransform3d.rotations.check_axis_angle#

pytransform3d.rotations.check_axis_angle(a)[source]#

Input validation of axis-angle representation.

Parameters:
aarray-like, shape (4,)

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

Returns:
aarray, shape (4,)

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

Raises:
ValueError

If input is invalid