From 1abb6bfddb6858fd0140accaf7eece61b3764ae4 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 30 Jul 2017 10:19:18 +0800 Subject: clusters/halo.py: Add property "angular_radius" (unit: [arcsec]) Signed-off-by: Aaron LI --- fg21sim/utils/units.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fg21sim/utils') 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) -- cgit v1.2.2