aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/utils/units.py
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/utils/units.py')
-rw-r--r--fg21sim/utils/units.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/fg21sim/utils/units.py b/fg21sim/utils/units.py
index aea0f92..bb8f670 100644
--- a/fg21sim/utils/units.py
+++ b/fg21sim/utils/units.py
@@ -50,6 +50,13 @@ class UnitConversions:
keV2erg = au.keV.to(au.erg)
# Angle
rad2deg = au.rad.to(au.deg)
+ deg2rad = au.deg.to(au.rad)
+ arcmin2deg = au.arcmin.to(au.deg)
+ deg2arcmin = au.deg.to(au.arcmin)
+ arcsec2deg = au.arcsec.to(au.deg)
+ deg2arcsec = au.deg.to(au.arcsec)
+ arcmin2arcsec = au.arcmin.to(au.arcsec)
+ arcsec2arcmin = au.arcsec.to(au.arcmin)
class Constants: