diff options
Diffstat (limited to 'fg21sim')
-rw-r--r-- | fg21sim/galactic/freefree.py | 2 | ||||
-rw-r--r-- | fg21sim/galactic/synchrotron.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fg21sim/galactic/freefree.py b/fg21sim/galactic/freefree.py index 2c34374..2023798 100644 --- a/fg21sim/galactic/freefree.py +++ b/fg21sim/galactic/freefree.py @@ -70,7 +70,7 @@ class FreeFree: def _set_configs(self): """Load the configs and set the corresponding class attributes.""" comp = "galactic/freefree" - self.halphamap_path = self.configs.get_path(comp+"halphamap") + self.halphamap_path = self.configs.get_path(comp+"/halphamap") self.halphamap_unit = au.Unit( self.configs.getn(comp+"/halphamap_unit")) self.dustmap_path = self.configs.get_path(comp+"/dustmap") diff --git a/fg21sim/galactic/synchrotron.py b/fg21sim/galactic/synchrotron.py index 77c0be4..7ab33f0 100644 --- a/fg21sim/galactic/synchrotron.py +++ b/fg21sim/galactic/synchrotron.py @@ -48,7 +48,7 @@ class Synchrotron: def _set_configs(self): """Load the configs and set the corresponding class attributes.""" - comp = "galactic/freefree" + comp = "galactic/synchrotron" self.template_path = self.configs.get_path(comp+"/template") self.template_freq = self.configs.getn(comp+"/template_freq") self.template_unit = au.Unit( |