diff options
author | Aaron LI <aly@aaronly.me> | 2019-01-29 20:38:29 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-01-29 20:38:29 +0800 |
commit | 8387ab1ac665b0683881ad5dde21d246668afbe2 (patch) | |
tree | 5d26b857908e92b2c796860d7c39ae6744cc5ae6 /fg21sim/extragalactic/clusters/main.py | |
parent | 54434d4b24104457d04af79a1a75ecf713c07bc1 (diff) | |
download | fg21sim-8387ab1ac665b0683881ad5dde21d246668afbe2.tar.bz2 |
clusters/psformalism: Count for dark matter fraction for M_min
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 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 += [ "", |