From 941aa25bf071e6f30522fdcdcc6a539d05573d9f Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 8 Nov 2018 18:55:43 +0800 Subject: clusters/halo: Fix radius_turbulence() calculation --- fg21sim/extragalactic/clusters/halo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fg21sim') diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py index 6b1d4a8..0f2c821 100644 --- a/fg21sim/extragalactic/clusters/halo.py +++ b/fg21sim/extragalactic/clusters/halo.py @@ -254,9 +254,9 @@ class RadioHalo: """ z = COSMO.redshift(t) M_main = self.mass_main(t) - R_vir = helper.radius_virial(M_main, z) + r_c = self.f_rc * helper.radius_virial(M_main, z) r_s = self.radius_stripping(t) - return (R_vir + r_s) / 2 + return (r_c + r_s) / 2 @lru_cache() def radius_stripping(self, t): -- cgit v1.2.2