LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
Functions | |
def | assertCoordsNearlyEqual |
Assert that two coords represent nearly the same point on the sky. More... | |
Variables | |
list | __all__ = ["assertCoordsNearlyEqual"] |
def lsst.afw.coord.utils.assertCoordsNearlyEqual | ( | testCase, | |
coord0, | |||
coord1, | |||
maxDiff = 0.001*afwGeom.arcseconds , |
|||
msg = "Coords differ" |
|||
) |
Assert that two coords represent nearly the same point on the sky.
[in] | testCase | unittest.TestCase instance the test is part of; an object supporting one method: fail(self, msgStr) |
[in] | coord0 | coord 0 (an lsst.afw.geom.Coord) |
[in] | coord1 | coord 1 (an lsst.afw.geom.Coord) |
[in] | maxDiff | maximum angular separation between the two coords (an lsst.afw.geom.Angle) |
[in] | msg | exception message prefix; details of the error are appended after ": " |
AssertionError | if the unwrapped difference is greater than maxDiff |
Definition at line 33 of file utils.py.