diff options
author | Aaron LI <aly@aaronly.me> | 2018-12-22 21:01:11 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-12-22 21:01:11 +0800 |
commit | c74ec6af0df0520779b9d1743b1211031c118eaa (patch) | |
tree | 43419e560a5e20a57e8e894de1a3a5a5ec8109d4 /fg21sim/extragalactic/clusters | |
parent | 63997620dbe054b8ef061f509a5f0062bc920ad8 (diff) | |
download | fg21sim-c74ec6af0df0520779b9d1743b1211031c118eaa.tar.bz2 |
clusters/main: Update description/comments
Tweak imports a bit.
Diffstat (limited to 'fg21sim/extragalactic/clusters')
-rw-r--r-- | fg21sim/extragalactic/clusters/main.py | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/fg21sim/extragalactic/clusters/main.py b/fg21sim/extragalactic/clusters/main.py index 0df271c..f471d90 100644 --- a/fg21sim/extragalactic/clusters/main.py +++ b/fg21sim/extragalactic/clusters/main.py @@ -1,15 +1,18 @@ -# Copyright (c) 2017-2018 Weitian LI <weitian@aaronly.me> +# Copyright (c) 2017-2018 Weitian LI <wt@liwt.net> # MIT license """ -Simulate the diffuse radio emissions from galaxy clusters due to -merger-induced turbulence and/or shock accelerations, e.g., -(giant) radio halos, (elongated double) radio relics. +Simulate the diffuse radio emissions from galaxy clusters. NOTE ---- -There are other types of diffuse radio emissions not considered -yet, e.g., mini-halos, roundish radio relics. +Only implement the *giant radio halos* generated by the merger-induced +turbulence accelerations. Other types of diffuse radio emissions are not +considered yet, e.g., mini-halos, radio relics. + +NOTE +---- +Only support to simulate in sky patches, not full-sky mode. """ import os @@ -18,16 +21,16 @@ from collections import OrderedDict import numpy as np +from . import helper from .psformalism import PSFormalism from .formation import ClusterFormation from .halo import RadioHaloAM from .emission import HaloEmission +from ...sky import get_sky from ...share import CONFIGS, COSMO from ...utils.io import dataframe_to_csv, pickle_dump, pickle_load from ...utils.ds import dictlist_to_dataframe from ...utils.convert import JyPerPix_to_K -from ...sky import get_sky -from . import helper logger = logging.getLogger(__name__) @@ -37,12 +40,6 @@ class GalaxyClusters: """ Simulate the diffuse radio emissions from the galaxy clusters. - NOTE - ---- - Currently only implement the *giant radio halos*, while other types - of diffuse emissions are missing, e.g., mini-halos, elongated relics, - roundish relics. - Attributes ---------- configs : `~ConfigManager` @@ -53,9 +50,7 @@ class GalaxyClusters: sky : `~SkyBase` The sky instance to deal with the simulation sky as well as the output map. - XXX: current full-sky HEALPix map is NOT supported! """ - # Component name compID = "extragalactic/clusters" name = "galaxy clusters (halos)" |