wcsAlmostEqualOverBBox¶
-
lsst.afw.geom.wcsAlmostEqualOverBBox(wcs0, wcs1, bbox, maxDiffSky=4.84814e-08 rad, maxDiffPix=0.01, nx=5, ny=5)[source]¶ Test if two
WCSare almost equal over a grid of pixel positions.Parameters: wcs0 :
lsst.afw.geom.SkyWcsWCS 0
wcs1 :
lsst.afw.geom.SkyWcsWCS 1
bbox :
lsst.geom.Box2Iorlsst.geom.Box2Dboundaries of pixel grid over which to compare the WCSs
maxDiffSky :
lsst.geom.Anglemaximum separation between sky positions computed using Wcs.pixelToSky
maxDiffPix :
floatmaximum separation between pixel positions computed using Wcs.skyToPixel
nx :
intnumber of points in x for the grid of pixel positions
ny :
intnumber of points in y for the grid of pixel positions
Returns: almostEqual:
bool