diff options
Diffstat (limited to 'fg21sim/foregrounds.py')
-rw-r--r-- | fg21sim/foregrounds.py | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/fg21sim/foregrounds.py b/fg21sim/foregrounds.py index e3e0f62..aae7820 100644 --- a/fg21sim/foregrounds.py +++ b/fg21sim/foregrounds.py @@ -24,8 +24,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 import write_fits_healpix @@ -64,14 +64,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): |