diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-07 15:32:07 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-07 15:32:07 +0800 |
commit | 2d0fa905d69bc8177d2253308cf67c6950f404af (patch) | |
tree | 14f798e1c4e68db91e1ee2863e30dd141d12ae79 /fg21sim/configs/10-galactic.conf.spec | |
parent | 56ed0976218c90caf6b01c532c1570d44499a7aa (diff) | |
download | fg21sim-2d0fa905d69bc8177d2253308cf67c6950f404af.tar.bz2 |
configs: Add parameters "min" and "max" to float-type options
Diffstat (limited to 'fg21sim/configs/10-galactic.conf.spec')
-rw-r--r-- | fg21sim/configs/10-galactic.conf.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fg21sim/configs/10-galactic.conf.spec b/fg21sim/configs/10-galactic.conf.spec index 32f977b..9aa4dbe 100644 --- a/fg21sim/configs/10-galactic.conf.spec +++ b/fg21sim/configs/10-galactic.conf.spec @@ -26,7 +26,7 @@ # The template map for the simulation. template = string(default=None) # The frequency of the template map (same unit as in [frequency] section) - template_freq = float(default=None) + template_freq = float(default=None, min=0.0) # The unit of the template map pixel template_unit = string(default=None) @@ -71,7 +71,7 @@ # Resolution (unit: arcmin) for simulating each SNR, which are finally # mapped to the HEALPix map of Nside specified in "[common]" section. - resolution = float(default=1.0) + resolution = float(default=1.0, min=0.0) # Filename prefix for this component prefix = string(default="gsnr") |