diff options
author | Aaron LI <aly@aaronly.me> | 2017-08-14 21:43:29 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-08-14 21:43:29 +0800 |
commit | d27d0118baff3287d298e4c035cc984e284cd9bf (patch) | |
tree | 8038d9a597dfeab003ac10f9eff950970f7e5cf0 /fg21sim/extragalactic/clusters/main.py | |
parent | 6f626998c7523f5948ce0e00acf4f2cb00f1bdc4 (diff) | |
download | fg21sim-d27d0118baff3287d298e4c035cc984e284cd9bf.tar.bz2 |
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 <aly@aaronly.me>
Diffstat (limited to 'fg21sim/extragalactic/clusters/main.py')
-rw-r--r-- | fg21sim/extragalactic/clusters/main.py | 2 |
1 files changed, 2 insertions, 0 deletions
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] |