aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-08-12 20:09:03 +0800
committerAaron LI <aly@aaronly.me>2017-08-12 20:09:03 +0800
commitba6ba5a5d716c7cc160679c46dd0a2146014335f (patch)
tree79b26773917ee73a9f4c0fabc3509c19cef44293
parentb364604b5ad0e76c1cb4dd0a33ac4ffd77a77b6f (diff)
downloadfg21sim-ba6ba5a5d716c7cc160679c46dd0a2146014335f.tar.bz2
clusters/main.py: Add missing columns to DataFrame conversion
Signed-off-by: Aaron LI <aly@aaronly.me>
-rw-r--r--fg21sim/extragalactic/clusters/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py
index 3db9fa1..6095f72 100644
--- a/fg21sim/extragalactic/clusters/main.py
+++ b/fg21sim/extragalactic/clusters/main.py
@@ -283,8 +283,8 @@ class GalaxyClusters:
logger.info("Converting halos data to be a Pandas DataFrame ...")
# Ignore the ``gamma`` and ``n_e`` items
keys = ["z0", "M0", "z_merger", "M_main", "M_sub",
- "time_crossing", "radius", "angular_radius",
- "B", "frequencies", "emissivity", "flux", "Tb_mean"]
+ "time_crossing", "radius", "angular_radius", "volume",
+ "B", "frequencies", "emissivity", "power", "flux", "Tb_mean"]
self.halos_df = dictlist_to_dataframe(self.halos, keys=keys)
logger.info("Done halos data conversion.")