aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/main.py
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-07-31 23:47:52 +0800
committerAaron LI <aly@aaronly.me>2017-07-31 23:47:52 +0800
commitc75dfd265e82b62af330f29be492a35c831238cc (patch)
treed326ddb6844fcd4de7e571faab079f06497a62c0 /fg21sim/extragalactic/clusters/main.py
parent68dac5c2e1972c3868503b8ce6208b455240c61c (diff)
downloadfg21sim-c75dfd265e82b62af330f29be492a35c831238cc.tar.bz2
clusters: Fix several small issues on wrong variable names
Also update logging message for RadioHalo a bit. Signed-off-by: Aaron LI <aly@aaronly.me>
Diffstat (limited to 'fg21sim/extragalactic/clusters/main.py')
-rw-r--r--fg21sim/extragalactic/clusters/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py
index 4e3d906..10f169c 100644
--- a/fg21sim/extragalactic/clusters/main.py
+++ b/fg21sim/extragalactic/clusters/main.py
@@ -247,8 +247,8 @@ class GalaxyClusters:
emissivity = halo.calc_emissivity(frequencies=self.frequencies)
flux = halo.calc_flux(emissivity)
data = {
- "z0": halo.z,
- "M0": halo.mass, # [Msun]
+ "z0": halo.z_obs,
+ "M0": halo.M_obs, # [Msun]
"z_merger": halo.z_merger,
"M_main": halo.M_main, # [Msun]
"M_sub": halo.M_sub, # [Msun]