check_transform#
- lsst.images.tests.check_transform(tc: TestCase, transform: Transform, input_xy: XY[ndarray], output_xy: XY[ndarray], in_frame: Frame, out_frame: Frame, *, check_inverted: bool = True, in_atol: Quantity | None = None, out_atol: Quantity | None = None) None#
Test Transform against known arrays of input and output points.
Parameters#
- tc
Test case object with assert methods to use.
- transform
Transform to test.
- input_xy
Arrays of input points.
- output_xy
Arrays of output points.
- in_frame
Expected input frame.
- out_frame
Expected output frame.
- check_inverted
If
True, recurse (once) to test the inverse transform.- in_atol
Expected absolute precision of input points.
- out_atol
Expected absolute precision of output points.