From 3c07a41448ddce396ffb98e105fca4ae5d6a74ee Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 16 May 2017 15:26:58 +0800 Subject: configs: New "sky" section, and remove "common" section * Update checkers accordingly --- fg21sim/configs/00-general.conf.spec | 45 +++++++++++++++++++++++++----------- 1 file changed, 32 insertions(+), 13 deletions(-) (limited to 'fg21sim/configs/00-general.conf.spec') diff --git a/fg21sim/configs/00-general.conf.spec b/fg21sim/configs/00-general.conf.spec index aa2a29a..ba432c5 100644 --- a/fg21sim/configs/00-general.conf.spec +++ b/fg21sim/configs/00-general.conf.spec @@ -7,19 +7,6 @@ # behaviors, or will be used in other configuration sections. -# Common/general configurations for the simulation -[common] -# HEALPix Nside value, i.e., pixel resolution -# NOTE: also update "lmax" below. -nside = integer(min=1, default=1024) - -# Range of multipole monents (l) of the angular power spectrum. -# The power spectrum will be cut off to a constant for multipole l < lmin. -# Generally, lmax = 3 * nside - 1 -lmin = integer(min=0, default=10) -lmax = integer(min=1, default=3071) - - # Foreground components to be simulated [foregrounds] # Diffuse Galactic synchrotron emission (unpolarized) @@ -39,6 +26,38 @@ extragalactic/clusters = boolean(default=True) extragalactic/pointsources = boolean(default=False) +# Simulation sky/region configurations +[sky] +# Type of the input/output simulation sky +# + patch: +# Input sky template is only a (square) patch of the sky. +# The simulated output maps have the same coverage/field as the +# input template, as well as the coordinate projection. +# + healpix: +# Input sky template covers (almost) all sky, and stored in +# HEALPix format. The simulated output maps will also be +# all-sky using the HEALPix projection. +type = option("patch", "healpix", default="patch") + + # Configurations for input sky patch + [[patch]] + # The (R.A., Dec.) coordinate of the input patch center [ deg ] + xcenter = float(default=0.0, min=0.0, max=360.0) + ycenter = float(default=0.0, min=-90.0, max=90.0) + + # The (pixel) dimensions of the input patch + xsize = integer(default=None, min=1) + ysize = integer(default=None, min=1) + + # Pixel size [ arcmin ] + pixelsize = float(default=None, min=0.0) + + # Configurations for input HEALPix sky + [[healpix]] + # HEALPix Nside value, i.e., pixel resolution + nside = integer(min=1, default=1024) + + # Frequencies specification of the simulation products [frequency] # Unit of the frequency value -- cgit v1.2.2