From cbc0f662abe72073fd7b01dbaf5d8e965fda5d04 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 2 Oct 2017 15:07:46 +0800 Subject: clusters/psformalism.py: Improve catalog comments --- fg21sim/extragalactic/clusters/psformalism.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'fg21sim/extragalactic') diff --git a/fg21sim/extragalactic/clusters/psformalism.py b/fg21sim/extragalactic/clusters/psformalism.py index ae54868..0ed19b0 100644 --- a/fg21sim/extragalactic/clusters/psformalism.py +++ b/fg21sim/extragalactic/clusters/psformalism.py @@ -228,10 +228,13 @@ class PSFormalism: columns=["z", "mass"]) df["mass"] /= COSMO.darkmatter_fraction comment = [ - "cluster number counts : %d" % counts, - "number boost : %s" % self.boost, - "z : redshift", - "mass : cluster total mass [Msun]", + "dndM data: %s" % self.datafile, + "cluster minimum mass: %.2e [Msun]" % self.Mmin_cluster, + "dark matter fraction: %.2f" % COSMO.darkmatter_fraction, + "cluster counts: %d" % counts, + "boost factor for cluster counts: %s" % self.boost, + "z - redshift", + "mass - cluster total mass [Msun]", ] self.clusters = df self.clusters_comment = comment -- cgit v1.2.2