From d27d0118baff3287d298e4c035cc984e284cd9bf Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 14 Aug 2017 21:43:29 +0800 Subject: clusters/halo.py: Rewrite electron acceleration coefficient calc * Adopt the electron acceleration coefficient formula from [cassano2005] * Rename method "_tau_acceleration()" to "_chi_acceleration()", and rewrite * Add property "kT_merger" * Also save "kT_merger" and "chi" into halos data Signed-off-by: Aaron LI --- fg21sim/extragalactic/clusters/main.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fg21sim/extragalactic/clusters/main.py') diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py index 4990505..b94c223 100644 --- a/fg21sim/extragalactic/clusters/main.py +++ b/fg21sim/extragalactic/clusters/main.py @@ -271,7 +271,9 @@ class GalaxyClusters: ("angular_radius", halo.angular_radius), # [arcsec] ("volume", halo.volume), # [kpc^3] ("B", halo.magnetic_field), # [uG] + ("kT_merger", halo.kT_merger), # [keV] ICM kT at z_merger ("Ke", halo.injection_rate), # [cm^-3 Gyr^-1] + ("chi", halo._chi_acceleration()), # [Gyr^-1] ("n_e", n_e), # [cm^-3] ("frequency", self.frequencies), # [MHz] ("emissivity", emissivity), # [erg/s/cm^3/Hz] -- cgit v1.2.2