diff options
author | Aaron LI <aly@aaronly.me> | 2017-07-30 10:19:18 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-07-30 10:19:18 +0800 |
commit | 1abb6bfddb6858fd0140accaf7eece61b3764ae4 (patch) | |
tree | 59a0df3353380f61ea5ca8c8630232199d1eecb9 /fg21sim/utils | |
parent | 4632691c206502cbbf5396515d181c6e5c34f026 (diff) | |
download | fg21sim-1abb6bfddb6858fd0140accaf7eece61b3764ae4.tar.bz2 |
clusters/halo.py: Add property "angular_radius" (unit: [arcsec])
Signed-off-by: Aaron LI <aly@aaronly.me>
Diffstat (limited to 'fg21sim/utils')
-rw-r--r-- | fg21sim/utils/units.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fg21sim/utils/units.py b/fg21sim/utils/units.py index e65f831..a6d7034 100644 --- a/fg21sim/utils/units.py +++ b/fg21sim/utils/units.py @@ -59,6 +59,8 @@ class UnitConversions: # Angle rad2deg = au.rad.to(au.deg) deg2rad = au.deg.to(au.rad) + rad2arcsec = au.rad.to(au.arcsec) + arcsec2rad = au.arcsec.to(au.rad) arcmin2deg = au.arcmin.to(au.deg) deg2arcmin = au.deg.to(au.arcmin) arcsec2deg = au.arcsec.to(au.deg) |