check_astropy_wcs_interface#
- lsst.images.tests.check_astropy_wcs_interface(wcs, pixel_xy, sky_coords, *, pixel_atol=None, sky_atol=None)#
Test an Astropy WCS instance against known arrays of pixel and sky coordinates.
- Parameters:
wcs (
BaseHighLevelWCS) – Astropy WCS object to test.sky_coords (
SkyCoord) – Corresponding sky coordinates.pixel_atol (
float|None, default:None) – Expected absolute precision of pixel points.sky_atol (
Quantity|None, default:None) – Expected absolute precision of sky coordinates, as a maximum great-circle separation.
- Return type: