aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-10-22 18:47:43 +0800
committerAaron LI <aaronly.me@outlook.com>2016-10-22 18:47:43 +0800
commit6388442de0a0a9e471c938b43f7bdda992dbd2ce (patch)
treee984ff8702df884bd78dedff47bb7b168799fc66
parent07ba51486daa35b828f0cb02d854f9b6afc7befb (diff)
downloadfg21sim-6388442de0a0a9e471c938b43f7bdda992dbd2ce.tar.bz2
foregrounds.py: Add new component extragalactic/clusters
-rw-r--r--fg21sim/foregrounds.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/fg21sim/foregrounds.py b/fg21sim/foregrounds.py
index 062558f..9788d2c 100644
--- a/fg21sim/foregrounds.py
+++ b/fg21sim/foregrounds.py
@@ -24,6 +24,7 @@ import healpy as hp
from .galactic import (Synchrotron as GalacticSynchrotron,
FreeFree as GalacticFreeFree,
SuperNovaRemnants as GalacticSNR)
+from .extragalactic import GalaxyClusters as EGGalaxyClusters
from .utils import write_fits_healpix
@@ -62,9 +63,10 @@ class Foregrounds:
"""
# All supported foreground components
COMPONENTS_ALL = OrderedDict([
- ("galactic/synchrotron", GalacticSynchrotron),
- ("galactic/freefree", GalacticFreeFree),
- ("galactic/snr", GalacticSNR),
+ ("galactic/synchrotron", GalacticSynchrotron),
+ ("galactic/freefree", GalacticFreeFree),
+ ("galactic/snr", GalacticSNR),
+ ("extragalactic/clusters", EGGalaxyClusters),
])
def __init__(self, configs):