diff options
author | Aaron LI <aly@aaronly.me> | 2018-11-08 16:45:49 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-11-08 16:45:49 +0800 |
commit | 96c2d84fb7ef50ff509e520cc1517926b6864f9d (patch) | |
tree | 4f7b43465e2ab2f41d9796aedc349af0659ccd3f /fg21sim/extragalactic | |
parent | 3b00ddc9ccf3bb797688f41167d219f484ce07f9 (diff) | |
download | fg21sim-96c2d84fb7ef50ff509e520cc1517926b6864f9d.tar.bz2 |
clusters/halo: Apply option 'f_radius' to derive halo radius
The config option 'f_radius' is renamed from the old 'f_lturb'.
Diffstat (limited to 'fg21sim/extragalactic')
-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 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): |