diff options
author | Aaron LI <aly@aaronly.me> | 2017-10-19 23:17:17 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-10-19 23:17:17 +0800 |
commit | 4d76511eb8c5e158fd93b1843f0252244acbf8ce (patch) | |
tree | 70bea75f402b3afdd225423f22a0b01608dc7f17 /fg21sim/extragalactic/clusters/helper.py | |
parent | 6938f435b70bb380a438e400f4f1cbdcd92e2faa (diff) | |
download | fg21sim-4d76511eb8c5e158fd93b1843f0252244acbf8ce.tar.bz2 |
clusters/halo: Use "kT_cluster()" instead of "mass_to_kT()"
Diffstat (limited to 'fg21sim/extragalactic/clusters/helper.py')
-rw-r--r-- | fg21sim/extragalactic/clusters/helper.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fg21sim/extragalactic/clusters/helper.py b/fg21sim/extragalactic/clusters/helper.py index daf806b..e43d7f4 100644 --- a/fg21sim/extragalactic/clusters/helper.py +++ b/fg21sim/extragalactic/clusters/helper.py @@ -241,10 +241,10 @@ def density_energy_thermal(mass, z=0.0): ------- e_th : float Energy density of the ICM - Unit: [erg cm^-3] + Unit: [erg/cm^3] """ - n_th = density_number_thermal(mass, z) # [cm^-3] - kT = mass_to_kT(mass, z) * AUC.keV2erg # [erg] + n_th = density_number_thermal(mass=mass, z=z) # [cm^-3] + kT = kT_cluster(mass, z) * AUC.keV2erg # [erg] e_th = (3.0/2) * kT * n_th return e_th |