giant.catalogues.utilities.DEG2RAD¶
- giant.catalogues.utilities.DEG2RAD: float = 0.017453292519943295¶
This constant converts from units of degrees to units of radians through multiplication.
That is
angle_rad = angle_deg*DEG2RAD
whereangle_rad
is the angle in radians andangle_deg
is the angle in degrees.Mathematically this is \(\frac{\pi}{180}\).