LSSTApplications  11.0-24-g0a022a1,14.0+64,15.0,15.0+1,15.0-1-g14e9bfd,15.0-1-g1eca518,15.0-1-g499c38d,15.0-1-g60afb23,15.0-1-g6668b0b,15.0-1-g788a293,15.0-1-g82223af,15.0-1-ga91101e,15.0-1-gae1598d,15.0-1-gc45031d,15.0-1-gd076f1f,15.0-1-gf4f1c34,15.0-1-gfe1617d,15.0-16-g953e39cab,15.0-2-g2010ef9,15.0-2-g33d94b3,15.0-2-g5218728,15.0-2-g947dc0d,15.0-3-g9103c06,15.0-3-ga03b4ca,15.0-3-ga659d1f3,15.0-3-ga695220+2,15.0-3-gaec6799,15.0-3-gb7a597c,15.0-3-gd5b9ff95,15.0-4-g0478fed+2,15.0-4-g45f767a,15.0-4-gff20472+2,15.0-6-ge2d9597
LSSTDataManagementBasePackage
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)