diff options
Diffstat (limited to 'fg21sim')
-rw-r--r-- | fg21sim/configs/00-general.conf.spec | 10 | ||||
-rw-r--r-- | fg21sim/configs/10-galactic.conf.spec | 4 | ||||
-rw-r--r-- | fg21sim/configs/20-extragalactic.conf.spec | 6 |
3 files changed, 10 insertions, 10 deletions
diff --git a/fg21sim/configs/00-general.conf.spec b/fg21sim/configs/00-general.conf.spec index bb4cbc8..0a84673 100644 --- a/fg21sim/configs/00-general.conf.spec +++ b/fg21sim/configs/00-general.conf.spec @@ -46,9 +46,9 @@ frequencies = float_list(default=list()) # Parameters to calculate the frequencies # start and stop frequency value (both inclusive) -start = float(default=None) -stop = float(default=None) -step = float(default=None) +start = float(default=None, min=0.0) +stop = float(default=None, min=0.0) +step = float(default=None, min=0.0) # Configuration for output products @@ -88,9 +88,9 @@ output_dir = string(default=None) # Cosmological parameters [cosmology] # Hubble constant at z=0 [ km/s/Mpc ] -H0 = float(default=71.0) +H0 = float(default=71.0, min=0.0) # Density of non-relativistic matter in units of the critical density at z=0 -OmegaM0 = float(default=0.27) +OmegaM0 = float(default=0.27, min=0.0, max=1.0) # Configurations for initialization/reconfiguration of the `logging` module 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") 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]]] |