aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/galactic/synchrotron.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-10-18 15:47:07 +0800
committerAaron LI <aaronly.me@outlook.com>2016-10-18 15:47:07 +0800
commit00597e44e68bebd74a2a7b838d0fa6dcf7511fc2 (patch)
treed4f9ef16b31ec10354087193fa6a04ded36a6857 /fg21sim/galactic/synchrotron.py
parent653d5fcad7259e93d97146613e2ecd31b1f7f80d (diff)
downloadfg21sim-00597e44e68bebd74a2a7b838d0fa6dcf7511fc2.tar.bz2
galactic/{freefree,synchrotron}.py: Fix small bugs
* freefree.py: Add the missing "/" to the config "halphamap" * synchrotron.py: Fix "comp" to have the correct value
Diffstat (limited to 'fg21sim/galactic/synchrotron.py')
-rw-r--r--fg21sim/galactic/synchrotron.py2
1 files changed, 1 insertions, 1 deletions
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(