diff options
author | Aaron LI <aly@aaronly.me> | 2019-01-17 15:15:24 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-01-17 15:15:24 +0800 |
commit | ab00ba4ff010e11d40e292186d5bc15a52a9b90a (patch) | |
tree | 75aa8e7f1e5daf6f43fc664f174ff72e4740ed16 /fg21sim | |
parent | 96fc980003e29a3a6de360971a0ea0eb5b50a498 (diff) | |
download | fg21sim-ab00ba4ff010e11d40e292186d5bc15a52a9b90a.tar.bz2 |
clusters/main: Fix _calc_cluster_info()
Diffstat (limited to 'fg21sim')
-rw-r--r-- | fg21sim/extragalactic/clusters/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py index 8fcf013..2f27c07 100644 --- a/fg21sim/extragalactic/clusters/main.py +++ b/fg21sim/extragalactic/clusters/main.py @@ -178,7 +178,7 @@ class GalaxyClusters: Calculate some basic information for each cluster. """ logger.info("Calculating basic information for each cluster ...") - for cdict in enumerate(self.catalog): + for cdict in self.catalog: z, mass = cdict["z"], cdict["mass"] Rvir = helper.radius_virial(mass, z) # [kpc] DA = COSMO.DA(z) # [Mpc] |