aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs/00-general.conf.spec
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-05-16 15:26:58 +0800
committerAaron LI <aaronly.me@outlook.com>2017-05-16 19:09:27 +0800
commit3c07a41448ddce396ffb98e105fca4ae5d6a74ee (patch)
tree5ccc6580492575b27826e8b79752819ae194a2ee /fg21sim/configs/00-general.conf.spec
parent02d9b9bc2263d4eabee8a07bbf8c7606255fa761 (diff)
downloadfg21sim-3c07a41448ddce396ffb98e105fca4ae5d6a74ee.tar.bz2
configs: New "sky" section, and remove "common" section
* Update checkers accordingly
Diffstat (limited to 'fg21sim/configs/00-general.conf.spec')
-rw-r--r--fg21sim/configs/00-general.conf.spec45
1 files changed, 32 insertions, 13 deletions
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