Assert that two coords represent almost the same point on the sky.
- Warning
- the coordinate systems are not compared; instead both angles are converted to ICRS and the angular separation measured.
- Parameters
-
| [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 ": " |
- Exceptions
-
| AssertionError | if the unwrapped difference is greater than maxDiff |
Definition at line 36 of file utils.py.