angle_diff¶

lsst.ts.salobj.
angle_diff
(angle1, angle2)¶ Return angle1  angle2 wrapped into the range [180, 180) deg.
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
Returns:  diff :
astropy.coordinates.Angle
angle1  angle2 wrapped into the range 180 <= diff < 180 deg.
 angle1 :