diff options
Diffstat (limited to 'fg21sim/utils/units.py')
-rw-r--r-- | fg21sim/utils/units.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fg21sim/utils/units.py b/fg21sim/utils/units.py index a6d7034..0389715 100644 --- a/fg21sim/utils/units.py +++ b/fg21sim/utils/units.py @@ -67,6 +67,9 @@ class UnitConversions: deg2arcsec = au.deg.to(au.arcsec) arcmin2arcsec = au.arcmin.to(au.arcsec) arcsec2arcmin = au.arcsec.to(au.arcmin) + # Temperature + eV2K = au.eV.to(ac.k_B*au.K) + keV2K = au.keV.to(ac.k_B*au.K) class Constants: |