pytransform3d.transformations.assert_unit_dual_quaternion#

pytransform3d.transformations.assert_unit_dual_quaternion(dq, *args, **kwargs)[source]#

Raise an assertion if the dual quaternion does not have unit norm.

See numpy.testing.assert_array_almost_equal for a more detailed documentation of the other parameters.

Parameters:
dqarray-like, shape (8,)

Unit dual quaternion to represent transform: (pw, px, py, pz, qw, qx, qy, qz)

argstuple

Positional arguments that will be passed to assert_array_almost_equal

kwargsdict

Positional arguments that will be passed to assert_array_almost_equal