check_transform#

lsst.images.tests.check_transform(transform, input_xy, output_xy, in_frame, out_frame, *, check_inverted=True, in_atol=None, out_atol=None)#

Test Transform against known arrays of input and output points.

Parameters:
  • transform (Transform[TypeVar(I, bound= Frame), TypeVar(O, bound= Frame)]) – Transform to test.

  • input_xy (XY[ndarray]) – Arrays of input points.

  • output_xy (XY[ndarray]) – Arrays of output points.

  • in_frame (Frame) – Expected input frame.

  • out_frame (Frame) – Expected output frame.

  • check_inverted (bool, default: True) – If True, recurse (once) to test the inverse transform.

  • in_atol (Quantity | None, default: None) – Expected absolute precision of input points.

  • out_atol (Quantity | None, default: None) – Expected absolute precision of output points.

Return type:

None

This page was last modified on .