aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/galactic
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-05-16 15:26:58 +0800
committerAaron LI <aaronly.me@outlook.com>2017-05-16 19:09:27 +0800
commit3c07a41448ddce396ffb98e105fca4ae5d6a74ee (patch)
tree5ccc6580492575b27826e8b79752819ae194a2ee /fg21sim/galactic
parent02d9b9bc2263d4eabee8a07bbf8c7606255fa761 (diff)
downloadfg21sim-3c07a41448ddce396ffb98e105fca4ae5d6a74ee.tar.bz2
configs: New "sky" section, and remove "common" section
* Update checkers accordingly
Diffstat (limited to 'fg21sim/galactic')
-rw-r--r--fg21sim/galactic/synchrotron.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fg21sim/galactic/synchrotron.py b/fg21sim/galactic/synchrotron.py
index 22949b2..09eefd6 100644
--- a/fg21sim/galactic/synchrotron.py
+++ b/fg21sim/galactic/synchrotron.py
@@ -55,6 +55,8 @@ class Synchrotron:
self.configs.getn(comp+"/template_unit"))
self.indexmap_path = self.configs.get_path(comp+"/indexmap")
self.smallscales = self.configs.getn(comp+"/add_smallscales")
+ self.lmin = self.configs.getn(comp+"/lmin")
+ self.lmax = self.configs.getn(comp+"/lmax")
self.prefix = self.configs.getn(comp+"/prefix")
self.save = self.configs.getn(comp+"/save")
self.output_dir = self.configs.get_path(comp+"/output_dir")
@@ -64,8 +66,6 @@ class Synchrotron:
self.checksum = self.configs.getn("output/checksum")
self.clobber = self.configs.getn("output/clobber")
self.nside = self.configs.getn("common/nside")
- self.lmin = self.configs.getn("common/lmin")
- self.lmax = self.configs.getn("common/lmax")
self.freq_unit = au.Unit(self.configs.getn("frequency/unit"))
#
logger.info("Loaded and setup configurations")