check_projection#

lsst.images.tests.check_projection(sky_projection, pixel_xy, sky_coords, pixel_frame, *, pixel_atol=None, sky_atol=None)#

Test a SkyProjection instance against known arrays of pixel and sky coordinates.

Parameters:
  • sky_projection (SkyProjection[TypeVar(P, bound= Frame)]) – Projection to test.

  • pixel_xy (XY[ndarray]) – Arrays of pixel coordinates.

  • sky_coords (SkyCoord) – Corresponding sky coordinates.

  • pixel_frame (Frame) – Expected pixel frame.

  • pixel_atol (float | None, default: None) – Expected absolute precision of pixel points.

  • sky_atol (Quantity | None, default: None) – Expected absolute precision of sky coordinates.

Return type:

None

This page was last modified on .