diff options
Diffstat (limited to 'fg21sim')
-rw-r--r-- | fg21sim/foregrounds.py | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/fg21sim/foregrounds.py b/fg21sim/foregrounds.py index 85bbf16..2206edf 100644 --- a/fg21sim/foregrounds.py +++ b/fg21sim/foregrounds.py @@ -2,13 +2,15 @@ # MIT license """ -Interface o the simulations of various supported foreground components. +Interface to the simulations of various supported foreground components. Currently supported foregrounds: - Galactic synchrotron - Galactic free-free - Galactic supernova remnants +- Extragalactic clusters of galaxies (radio halos) +- Extragalactic point sources (multiple types) """ import os @@ -24,8 +26,8 @@ import healpy as hp from .galactic import (Synchrotron as GalacticSynchrotron, FreeFree as GalacticFreeFree, SuperNovaRemnants as GalacticSNR) -from .extragalactic import GalaxyClusters as EGGalaxyClusters -from .extragalactic import PointSources as ExtragalacticPointSources +from .extragalactic import (GalaxyClusters as EGGalaxyClusters, + PointSources as EGPointSources) from .utils.fits import write_fits_healpix @@ -64,14 +66,11 @@ class Foregrounds: """ # All supported foreground components COMPONENTS_ALL = OrderedDict([ - ("galactic/synchrotron", GalacticSynchrotron), - ("galactic/freefree", GalacticFreeFree), - ("galactic/snr", GalacticSNR), - ("extragalactic/clusters", EGGalaxyClusters), - ("galactic/synchrotron", GalacticSynchrotron), - ("galactic/freefree", GalacticFreeFree), - ("galactic/snr", GalacticSNR), - ("extragalactic/pointsources", ExtragalacticPointSources), + ("galactic/synchrotron", GalacticSynchrotron), + ("galactic/freefree", GalacticFreeFree), + ("galactic/snr", GalacticSNR), + ("extragalactic/clusters", EGGalaxyClusters), + ("extragalactic/pointsources", EGPointSources), ]) def __init__(self, configs): |