From 150b66de2051c139b1ebdb7f23d9849c2137ef07 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 1 Feb 2019 11:40:06 +0800 Subject: clusters/main: Minor cleanups --- fg21sim/extragalactic/clusters/main.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'fg21sim/extragalactic') 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): """ -- cgit v1.2.2