diff options
Diffstat (limited to 'fg21sim/extragalactic/clusters/main.py')
-rw-r--r-- | fg21sim/extragalactic/clusters/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py index dc08240..8fcf013 100644 --- a/fg21sim/extragalactic/clusters/main.py +++ b/fg21sim/extragalactic/clusters/main.py @@ -335,8 +335,8 @@ class GalaxyClusters: if ii % 100 == 0: logger.info("[%d/%d] %.1f%% ..." % (ii, num, 100*ii/num)) haloem = HaloEmission(gamma=hdict["gamma"], n_e=hdict["n_e"], - B=hdict["B0"], radius=hdict["Rhalo"], - redshift=hdict["z0"]) + B=hdict["B"], radius=hdict["Rhalo"], + redshift=hdict["z"]) emissivity = haloem.calc_emissivity(frequencies=self.frequencies) power = haloem.calc_power(self.frequencies, emissivity=emissivity) flux = haloem.calc_flux(self.frequencies) |