diff options
author | Aaron LI <aly@aaronly.me> | 2017-10-22 15:17:07 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-10-22 15:17:07 +0800 |
commit | a42a613f3a1328ca0582bef19e024868fa3a3ad5 (patch) | |
tree | 9110f264c422ef850bac3640ab50e331ec292ca6 /fg21sim/extragalactic/clusters/halo.py | |
parent | 0ddacb9b2dd050e84f889662f09bf686cfae3d33 (diff) | |
download | fg21sim-a42a613f3a1328ca0582bef19e024868fa3a3ad5.tar.bz2 |
clusters/halo: Add option "kT_out" to tune cluster temperature
Diffstat (limited to 'fg21sim/extragalactic/clusters/halo.py')
-rw-r--r-- | fg21sim/extragalactic/clusters/halo.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py index d3b5dd1..bf8e643 100644 --- a/fg21sim/extragalactic/clusters/halo.py +++ b/fg21sim/extragalactic/clusters/halo.py @@ -327,9 +327,7 @@ class RadioHalo: if not hasattr(self, "_tau_acceleration"): Mach = self.Mach_turbulence Rvir = helper.radius_virial(mass=self.M_main, z=self.z_merger) - kT = helper.kT_cluster(mass=self.M_main, z=self.z_merger, - radius=Rvir) # [keV] - cs = helper.speed_sound(kT) # [km/s] + cs = helper.speed_sound(self.kT_main) # [km/s] # Turbulence injection scale L0 = self.f_lturb * Rvir # [kpc] x = cs*AUC.km2cm / AC.c |