aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/main.py
diff options
context:
space:
mode:
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 e81828e..e174db3 100644
--- a/fg21sim/extragalactic/clusters/main.py
+++ b/fg21sim/extragalactic/clusters/main.py
@@ -120,10 +120,10 @@ class GalaxyClusters:
psform.write()
counts = psform.calc_cluster_counts(coverage=self.sky.area)
z, mass, self.comments = psform.sample_z_m(counts)
- dm_frac = 1 - COSMO.baryon_fraction
+ fdm = 1 - COSMO.baryon_fraction
self.catalog = [OrderedDict([("z", z_),
("mass_dm", m_),
- ("mass", m_ / dm_frac)])
+ ("mass", m_ / fdm)])
for z_, m_ in zip(z, mass)]
self.comments += [
"",