diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-03 16:12:35 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-03 16:12:35 +0800 |
commit | 0aac2d9a1f163af4d84c36bd3d19f8df2630fdbd (patch) | |
tree | 36b11ca8ab68a30d9b4cbd5a02a710725c6d2cca /fg21sim | |
parent | f6dfc5d85eff190b0f57907a917c935dc6aa34da (diff) | |
download | fg21sim-0aac2d9a1f163af4d84c36bd3d19f8df2630fdbd.tar.bz2 |
Update general configurations and synchrotron configs
Diffstat (limited to 'fg21sim')
-rw-r--r-- | fg21sim/configs/00-general.conf.spec | 8 | ||||
-rw-r--r-- | fg21sim/configs/10-galactic.conf.spec | 5 |
2 files changed, 12 insertions, 1 deletions
diff --git a/fg21sim/configs/00-general.conf.spec b/fg21sim/configs/00-general.conf.spec index 0f9f048..bed3a70 100644 --- a/fg21sim/configs/00-general.conf.spec +++ b/fg21sim/configs/00-general.conf.spec @@ -12,6 +12,8 @@ # HEALPix N_side value, i.e., pixel resolution # NOTE: also update "lmax" below. nside = int(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. @@ -48,6 +50,9 @@ frequencies = force_list(default=float_list(120.0)) # Unit of the sky map pixel value unit = option("K", default="K") +# Use single-precision float instead of double (also save spaces) +use_float = boolean(default=True) + # Filetype used to store the products (default: fits) filetype = option("fits", default="fits") @@ -55,6 +60,9 @@ filetype = option("fits", default="fits") # be finally formatted using `str.format()`. filename_pattern = string(default="{prefix}_{frequency:.1f}") +# Overwrite existing files +clobber = boolean(default=False) + # Whether combine all components and output combine = boolean(default=True) # Prefix for the combined files diff --git a/fg21sim/configs/10-galactic.conf.spec b/fg21sim/configs/10-galactic.conf.spec index 491b3db..ac0b99f 100644 --- a/fg21sim/configs/10-galactic.conf.spec +++ b/fg21sim/configs/10-galactic.conf.spec @@ -14,11 +14,14 @@ # The template map for the simulation. # This config specify the relative path to the template from "data_dir". template = string(default=None) - # The frequency of the template map + # The frequency of the template map (same unit as in [frequency] section) template_freq = float(default=None) # The unit of the template map pixel template_unit = string(default=None) + # Spectral index map + indexmap = string(default=None) + # Whether add fluctuations on the small scales add_smallscales = boolean(default=True) |