From 6388442de0a0a9e471c938b43f7bdda992dbd2ce Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 22 Oct 2016 18:47:43 +0800 Subject: foregrounds.py: Add new component extragalactic/clusters --- fg21sim/foregrounds.py | 8 +++++--- 1 file 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): -- cgit v1.2.2