assertAnglesAlmostEqual¶

lsst.ts.salobj.
assertAnglesAlmostEqual
(angle1, angle2, max_diff=1e05)¶ Raise AssertionError if angle1 and angle2 are too different, ignoring wrap.
Parameters:  angle1 :
astropy.coordinates.Angle
orfloat
Angle 1; if a float then in degrees
 angle2 :
astropy.coordinates.Angle
orfloat
Angle 2; if a float then in degrees
 max_diff :
astropy.coordinates.Angle
orfloat
Maximum allowed difference; if a float then in degrees
Raises:  AssertionError
If
angle_diff
of angle1 and angle2 exceeds max_diff.
 angle1 :