aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs/20-extragalactic.conf.spec
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-07 15:32:07 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-07 15:32:07 +0800
commit2d0fa905d69bc8177d2253308cf67c6950f404af (patch)
tree14f798e1c4e68db91e1ee2863e30dd141d12ae79 /fg21sim/configs/20-extragalactic.conf.spec
parent56ed0976218c90caf6b01c532c1570d44499a7aa (diff)
downloadfg21sim-2d0fa905d69bc8177d2253308cf67c6950f404af.tar.bz2
configs: Add parameters "min" and "max" to float-type options
Diffstat (limited to 'fg21sim/configs/20-extragalactic.conf.spec')
-rw-r--r--fg21sim/configs/20-extragalactic.conf.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/fg21sim/configs/20-extragalactic.conf.spec b/fg21sim/configs/20-extragalactic.conf.spec
index c6be967..4b60187 100644
--- a/fg21sim/configs/20-extragalactic.conf.spec
+++ b/fg21sim/configs/20-extragalactic.conf.spec
@@ -27,11 +27,11 @@
catalog_outfile = string(default=None)
# The fraction that a cluster hosts a radio halo
- halo_fraction = float(default=None)
+ halo_fraction = float(default=None, min=0.0, max=1.0)
# Resolution (unit: arcmin) for simulating each cluster, which are finally
# mapped to the HEALPix map of Nside specified in "[common]" section.
- resolution = float(default=0.5)
+ resolution = float(default=0.5, min=0.0)
# Filename prefix for this component
prefix = string(default="egcluster")
@@ -49,7 +49,7 @@
# PS components to be simulated
pscomponents=string_list(default=list())
# Resolution [arcmin]
- resolution=float(default=0.6)
+ resolution=float(default=0.6, min=0.0)
# Number of each type of point source
# Star forming
[[[starforming]]]