diff options
author | Aaron LI <aly@aaronly.me> | 2019-02-01 11:40:06 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-02-01 11:40:06 +0800 |
commit | 150b66de2051c139b1ebdb7f23d9849c2137ef07 (patch) | |
tree | 9e5657b109138210f800f7c1725741a434356b7c /fg21sim/extragalactic/clusters | |
parent | b529b06cdeace33449a4682cab02989e76d191cf (diff) | |
download | fg21sim-150b66de2051c139b1ebdb7f23d9849c2137ef07.tar.bz2 |
clusters/main: Minor cleanups
Diffstat (limited to 'fg21sim/extragalactic/clusters')
-rw-r--r-- | fg21sim/extragalactic/clusters/main.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py index e751b40..5c61b00 100644 --- a/fg21sim/extragalactic/clusters/main.py +++ b/fg21sim/extragalactic/clusters/main.py @@ -192,6 +192,14 @@ class GalaxyClusters: def _calc_cluster_info(self): """ Calculate some basic information for each cluster. + + Catalog Items + ------------- + DA : [Mpc] angular diameter distance + Rvir : [kpc] virial radius + Rvir_angular : [arcsec] angular virial radius + kT : [keV] ICM mean temperature + B : [uG] magnetic field """ logger.info("Calculating basic information for each cluster ...") for cdict in self.catalog: @@ -272,8 +280,6 @@ class GalaxyClusters: ] logger.info("%d (%.1f%%) clusters experienced recent mergers." % (num_hasmerger, 100*num_hasmerger/num)) - nmax = max([cdict["merger_num"] for cdict in self.catalog]) - logger.info("Maximum number of merger events: %d" % nmax) def _simulate_halo1(self, clinfo): """ |