From 3c07a41448ddce396ffb98e105fca4ae5d6a74ee Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 16 May 2017 15:26:58 +0800 Subject: configs: New "sky" section, and remove "common" section * Update checkers accordingly --- fg21sim/galactic/synchrotron.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fg21sim/galactic') 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") -- cgit v1.2.2