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.

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

  • 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.

Return type:

None

This page was last modified on .