wcsAlmostEqualOverBBox¶
-
lsst.afw.geom.wcsAlmostEqualOverBBox(wcs0, wcs1, bbox, maxDiffSky=4.84814e-08 rad, maxDiffPix=0.01, nx=5, ny=5)¶ Test if two
WCSare almost equal over a grid of pixel positions.Parameters: - wcs0 :
lsst.afw.geom.SkyWcs WCS 0
- wcs1 :
lsst.afw.geom.SkyWcs WCS 1
- bbox :
lsst.geom.Box2Iorlsst.geom.Box2D boundaries of pixel grid over which to compare the WCSs
- maxDiffSky :
lsst.geom.Angle maximum separation between sky positions computed using Wcs.pixelToSky
- maxDiffPix :
float maximum separation between pixel positions computed using Wcs.skyToPixel
- nx :
int number of points in x for the grid of pixel positions
- ny :
int number of points in y for the grid of pixel positions
Returns: - wcs0 :