lsst.afw  15.0-17-g0b88e3da8
Namespaces | Functions
utils.py File Reference

Go to the source code of this file.

Namespaces

 lsst.afw.geom.utils
 

Functions

def lsst.afw.geom.utils.extraMsg (msg)
 
def lsst.afw.geom.utils.assertAnglesAlmostEqual (testCase, ang0, ang1, maxDiff=0.001 *arcseconds, ignoreWrap=True, msg="Angles differ")
 Assert that two angles are almost equal, ignoring wrap differences by default. More...
 
def lsst.afw.geom.utils.assertPairsAlmostEqual (testCase, pair0, pair1, maxDiff=1e-7, msg="Pairs differ")
 Assert that two Cartesian points are almost equal. More...
 
def lsst.afw.geom.utils.assertPairListsAlmostEqual (testCase, list0, list1, maxDiff=1e-7, msg=None)
 Assert that two lists of Cartesian points are almost equal. More...
 
def lsst.afw.geom.utils.assertSpherePointsAlmostEqual (testCase, sp0, sp1, maxSep=0.001 *arcseconds, msg="")
 Assert that two SpherePoints are almost equal. More...
 
def lsst.afw.geom.utils.assertSpherePointListsAlmostEqual (testCase, splist0, splist1, maxSep=0.001 *arcseconds, msg=None)
 Assert that two lists of SpherePoints are almost equal. More...
 
def lsst.afw.geom.utils.assertBoxesAlmostEqual (testCase, box0, box1, maxDiff=1e-7, msg="Boxes differ")
 Assert that two boxes (Box2D or Box2I) are almost equal. More...
 
def lsst.afw.geom.utils.wcsAlmostEqualOverBBox (wcs0, wcs1, bbox, maxDiffSky=0.01 *arcseconds, maxDiffPix=0.01, nx=5, ny=5)
 Return True if two WCS are almost equal over a grid of pixel positions, else False. More...
 
def lsst.afw.geom.utils.assertWcsAlmostEqualOverBBox (testCase, wcs0, wcs1, bbox, maxDiffSky=0.01 *arcseconds, maxDiffPix=0.01, nx=5, ny=5, msg="WCSs differ")
 Assert that two WCS are almost equal over a grid of pixel positions. More...
 
def lsst.afw.geom.utils.assertWcsNearlyEqualOverBBox (args, kwargs)
 
def lsst.afw.geom.utils.makeEndpoints (testCase)
 
def lsst.afw.geom.utils.assertAnglesNearlyEqual (args, kwargs)
 
def lsst.afw.geom.utils.assertPairsNearlyEqual (args, kwargs)
 
def lsst.afw.geom.utils.assertBoxesNearlyEqual (args, kwargs)