From 1e0d443c4c77a8a2cc0ae6e503e8811aca6b3e39 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 4 Oct 2016 14:56:52 +0800 Subject: Fix wrong config syntax and minor changes to ConfigManager --- fg21sim/configs/00-general.conf.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fg21sim/configs/00-general.conf.spec') diff --git a/fg21sim/configs/00-general.conf.spec b/fg21sim/configs/00-general.conf.spec index ab36f52..6827a12 100644 --- a/fg21sim/configs/00-general.conf.spec +++ b/fg21sim/configs/00-general.conf.spec @@ -11,15 +11,15 @@ [common] # HEALPix N_side value, i.e., pixel resolution # NOTE: also update "lmax" below. -nside = int(min=1, default=512) +nside = integer(min=1, default=512) # HEALPix ordering scheme ordering = option("RING", "NESTED", default="RING") # Range of multipole monents (l) of the angular power spectrum. # The power spectrum will be cut off to a constant for multipole l < lmin. # Generally, lmax = 3 * nside - 1 -lmin = int(min=0, default=10) -lmax = int(min=1, default=1535) +lmin = integer(min=0, default=10) +lmax = integer(min=1, default=1535) # Directory contains the input data, e.g., component templates # NOTE: This config is mandatory and should be provided by the user. @@ -44,7 +44,7 @@ unit = option("MHz", default="MHz") type = option("custom", "calc", default="custom") # The frequency values to be simulated if above "type" is "custom". -frequencies = force_list(default=float_list(120.0)) +frequencies = float_list(default=list()) # Parameters to calculate the frequencies # start and stop frequency value (both inclusive) -- cgit v1.2.2