aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-11-08 19:02:16 +0800
committerAaron LI <aly@aaronly.me>2018-11-08 19:02:16 +0800
commit0dfdd1ab24aa88a6fd4a1ff91ee909bd72d8a76b (patch)
tree24ac3a2fb86d24eac8070e8dd737a8f4979f713d /fg21sim/extragalactic/clusters
parent941aa25bf071e6f30522fdcdcc6a539d05573d9f (diff)
downloadfg21sim-0dfdd1ab24aa88a6fd4a1ff91ee909bd72d8a76b.tar.bz2
clusters/halo: Fix kT() calculation
Diffstat (limited to 'fg21sim/extragalactic/clusters')
-rw-r--r--fg21sim/extragalactic/clusters/halo.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/fg21sim/extragalactic/clusters/halo.py b/fg21sim/extragalactic/clusters/halo.py
index 0f2c821..5580c14 100644
--- a/fg21sim/extragalactic/clusters/halo.py
+++ b/fg21sim/extragalactic/clusters/halo.py
@@ -311,13 +311,12 @@ class RadioHalo:
@lru_cache()
def kT(self, t):
"""
- The ICM mean temperature of the merged cluster.
+ The ICM mean temperature of the main cluster.
Unit: [keV]
"""
M_main = self.mass_main(t)
- M_sub = self.mass_sub(t)
z = COSMO.redshift(t)
- return helper.kT_cluster(mass=M_main+M_sub, z=z, configs=self.configs)
+ return helper.kT_cluster(mass=M_main, z=z, configs=self.configs)
def tau_acceleration(self, t):
"""