aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/clusters/formation.py
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-01-01 23:27:48 +0800
committerAaron LI <aly@aaronly.me>2018-01-01 23:27:48 +0800
commit55483e5408ce122cf43059f53409c19ca7adeeb9 (patch)
tree34b447daa09bf46362d91aabc3495cfd0cc038d7 /fg21sim/extragalactic/clusters/formation.py
parent3d8df30a95f3b74de20c5982445c6bb225b34e42 (diff)
downloadfg21sim-55483e5408ce122cf43059f53409c19ca7adeeb9.tar.bz2
Improve descriptions and minor cleanups
Diffstat (limited to 'fg21sim/extragalactic/clusters/formation.py')
-rw-r--r--fg21sim/extragalactic/clusters/formation.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/fg21sim/extragalactic/clusters/formation.py b/fg21sim/extragalactic/clusters/formation.py
index 524237c..7d7b9a2 100644
--- a/fg21sim/extragalactic/clusters/formation.py
+++ b/fg21sim/extragalactic/clusters/formation.py
@@ -172,16 +172,15 @@ class ClusterFormation:
Parameters
----------
main_only : bool, optional
- Whether to only trace the forming history of the main
- halo/cluster.
- (default: True)
+ Whether to only trace the forming history of the main cluster.
+ Default: True
References: Ref.[randall2002],Sec.(3.1)
"""
logger.debug("Simulating cluster formation: " +
"M0=%.3e[Msun] " % self.M0 +
- "from z={:.3f} back to z={zmax} ...".format(
- self.z0, zmax=self.zmax))
+ "from z={z0:.3f} back to z={zmax} ...".format(
+ z0=self.z0, zmax=self.zmax))
self.main_only = main_only
if main_only:
logger.debug("Only trace the formation of the *main* cluster ...")