diff options
author | Aaron LI <aly@aaronly.me> | 2018-11-08 18:55:43 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-11-08 18:55:43 +0800 |
commit | 941aa25bf071e6f30522fdcdcc6a539d05573d9f (patch) | |
tree | 8a44be0d49c2dbdb1250c36bda491c6a75b5b0e3 | |
parent | af5e91235e53c60feb7245baf55660606ddf8d77 (diff) | |
download | fg21sim-941aa25bf071e6f30522fdcdcc6a539d05573d9f.tar.bz2 |
clusters/halo: Fix radius_turbulence() calculation
-rw-r--r-- | fg21sim/extragalactic/clusters/halo.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |