check_projection#
- lsst.images.tests.check_projection(sky_projection, pixel_xy, sky_coords, pixel_frame, *, pixel_atol=None, sky_atol=None)#
Test a
SkyProjectioninstance against known arrays of pixel and sky coordinates.- Parameters:
sky_projection (
SkyProjection[TypeVar(P, bound=Frame)]) – Projection to test.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: