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.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py
index 3d71593..a5c2497 100644
--- a/fg21sim/extragalactic/clusters/main.py
+++ b/fg21sim/extragalactic/clusters/main.py
@@ -104,6 +104,8 @@ class GalaxyClusters:
"""
logger.info("Simulating the clusters (z, mass) catalog ...")
psform = PSFormalism(configs=self.configs)
+ psform.calc_dndlnm()
+ psform.write()
counts = psform.calc_cluster_counts(coverage=self.sky.area)
self.catalog, self.catalog_comment = psform.sample_z_m(counts)
logger.info("Simulated cluster catalog of counts %d." % counts)