pytransform3d.transformations.assert_transform

pytransform3d.transformations.assert_transform(A2B, *args, **kwargs)[source]

Raise an assertion if the transform is not a homogeneous matrix.

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

Parameters:
A2Barray-like, shape (4, 4)

Transform from frame A to frame B

argstuple

Positional arguments that will be passed to assert_array_almost_equal

kwargsdict

Positional arguments that will be passed to assert_array_almost_equal