aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-10-02 15:07:46 +0800
committerAaron LI <aly@aaronly.me>2017-10-02 15:07:46 +0800
commitcbc0f662abe72073fd7b01dbaf5d8e965fda5d04 (patch)
treefb477f6a6bb5af7d2d65469d89374897ef6af580
parente946f7305601bbaeb5bcff7dc25dd8c138ca694b (diff)
downloadfg21sim-cbc0f662abe72073fd7b01dbaf5d8e965fda5d04.tar.bz2
clusters/psformalism.py: Improve catalog comments
-rw-r--r--fg21sim/extragalactic/clusters/psformalism.py11
1 files changed, 7 insertions, 4 deletions
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