From 96c2d84fb7ef50ff509e520cc1517926b6864f9d Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 8 Nov 2018 16:45:49 +0800 Subject: clusters/halo: Apply option 'f_radius' to derive halo radius The config option 'f_radius' is renamed from the old 'f_lturb'. --- fg21sim/extragalactic/clusters/halo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fg21sim/extragalactic/clusters/halo.py') diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py index 55107e5..21e3374 100644 --- a/fg21sim/extragalactic/clusters/halo.py +++ b/fg21sim/extragalactic/clusters/halo.py @@ -151,7 +151,7 @@ class RadioHalo: comp = self.compID self.configs = configs self.f_acc = configs.getn(comp+"/f_acc") - self.f_lturb = configs.getn(comp+"/f_lturb") + self.f_radius = configs.getn(comp+"/f_radius") self.zeta_ins = configs.getn(comp+"/zeta_ins") self.eta_turb = configs.getn(comp+"/eta_turb") self.eta_e = configs.getn(comp+"/eta_e") @@ -241,7 +241,7 @@ class RadioHalo: The estimated radius of the simulated radio halo. Unit: [kpc] """ - return self.radius_turbulence(self.age_merger) + return self.radius_turbulence(self.age_merger) * self.f_radius @lru_cache() def radius_turbulence(self, t): -- cgit v1.2.2