check_astropy_wcs_interface#
- lsst.images.tests.check_astropy_wcs_interface(tc: TestCase, wcs: BaseHighLevelWCS, pixel_xy: XY[ndarray], sky_coords: SkyCoord, *, pixel_atol: float | None = None, sky_atol: Quantity | None = None) None#
Test an Astropy WCS instance against known arrays of pixel and sky coordinates.
Parameters#
- tc
Test case object with assert methods to use.
- wcs
Astropy WCS object to test.
- pixel_xy
Arrays of pixel coordinates.
- sky_coords
Corresponding sky coordinates.
- pixel_atol
Expected absolute precision of pixel points.
- sky_atol
Expected absolute precision of sky coordinates.