wcsAlmostEqualOverBBox#
- lsst.afw.geom.wcsAlmostEqualOverBBox(wcs0, wcs1, bbox, maxDiffSky=Angle(2.7777777777777779e-06, degrees), 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#
- almostEqual:
bool Trueif two WCS are almost equal over a grid of pixel positions, elseFalse
- wcs0