diff options
author | Aaron LI <aaronly.me@outlook.com> | 2017-05-16 10:25:19 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-06-01 16:33:40 +0800 |
commit | 717931fcdb10a6e6691e8ccb393b045e8013061e (patch) | |
tree | fe7c63a6470036db960d882ab1151de7288f9cc9 /fg21sim/extragalactic/clusters | |
parent | 41a97ba0be1637c41d32f4c15dca6369a1dc88ae (diff) | |
download | fg21sim-717931fcdb10a6e6691e8ccb393b045e8013061e.tar.bz2 |
fg21sim/clusters: Save progress on halo simulation
Diffstat (limited to 'fg21sim/extragalactic/clusters')
-rw-r--r-- | fg21sim/extragalactic/clusters/__init__.py | 2 | ||||
-rw-r--r-- | fg21sim/extragalactic/clusters/main.py | 24 | ||||
-rw-r--r-- | fg21sim/extragalactic/clusters/mergertree.py | 2 |
3 files changed, 27 insertions, 1 deletions
diff --git a/fg21sim/extragalactic/clusters/__init__.py b/fg21sim/extragalactic/clusters/__init__.py index af976ca..1eb7bae 100644 --- a/fg21sim/extragalactic/clusters/__init__.py +++ b/fg21sim/extragalactic/clusters/__init__.py @@ -1,4 +1,4 @@ # Copyright (c) 2016 Weitian LI <liweitianux@live.com> # MIT license -from .clusters import GalaxyClusters +# from .clusters import GalaxyClusters diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py new file mode 100644 index 0000000..8f7f8e7 --- /dev/null +++ b/fg21sim/extragalactic/clusters/main.py @@ -0,0 +1,24 @@ +# Copyright (c) 2017 Weitian LI <liweitianux@live.com> +# MIT license + +""" +Simulate (giant) radio halos of galaxy clusters as one of the +foreground components. +""" + +import logging + +import numpy as np + +from .halo import HaloSingle + + +logger = logging.getLogger(__name__) + + +class Halos: + """ + Simulate (giant) radio halos of galaxy clusters as one of the + foreground components. + """ + pass diff --git a/fg21sim/extragalactic/clusters/mergertree.py b/fg21sim/extragalactic/clusters/mergertree.py index 61b9542..5891dba 100644 --- a/fg21sim/extragalactic/clusters/mergertree.py +++ b/fg21sim/extragalactic/clusters/mergertree.py @@ -73,6 +73,8 @@ def plot_mtree(mtree, outfile, figsize=(12, 8)): """ Plot the cluster merger tree. + TODO/XXX: This function needs significant speed optimization! + Parameters ---------- mtree : `~MergerTree` |