aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-01-02 14:36:54 +0800
committerAaron LI <aly@aaronly.me>2018-01-02 14:36:54 +0800
commit779878e46cc84fa48d8a30ea051edbaf99835122 (patch)
tree66be04659345e7bf9aa26494c2973048aff71527 /fg21sim
parent0925da524aa56d4141c3ba9605ba9e2944e4cda8 (diff)
downloadfg21sim-779878e46cc84fa48d8a30ea051edbaf99835122.tar.bz2
clusters: skip dropping out halos when using dumped data
Diffstat (limited to 'fg21sim')
-rw-r--r--fg21sim/extragalactic/clusters/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py
index d18faf0..92bd722 100644
--- a/fg21sim/extragalactic/clusters/main.py
+++ b/fg21sim/extragalactic/clusters/main.py
@@ -352,7 +352,7 @@ class GalaxyClusters:
Drop out the specified number of most powerful radio halos from
the catalog, in order to obtain a more stable simulation.
"""
- if self.halo_dropout <= 0:
+ if (self.halo_dropout <= 0) or self.use_dump_halos_data:
logger.info("No need to drop out halos.")
return