From 8387ab1ac665b0683881ad5dde21d246668afbe2 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 29 Jan 2019 20:38:29 +0800 Subject: clusters/psformalism: Count for dark matter fraction for M_min --- fg21sim/extragalactic/clusters/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fg21sim/extragalactic/clusters/main.py') 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 += [ "", -- cgit v1.2.2