From 0aac2d9a1f163af4d84c36bd3d19f8df2630fdbd Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 3 Oct 2016 16:12:35 +0800 Subject: Update general configurations and synchrotron configs --- fg21sim/configs/00-general.conf.spec | 8 ++++++++ fg21sim/configs/10-galactic.conf.spec | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'fg21sim') 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) -- cgit v1.2.2