aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/configs/10-galactic.conf.spec
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-10-02 16:54:58 +0800
committerAaron LI <aaronly.me@outlook.com>2016-10-02 16:54:58 +0800
commitc9a0ad9acd536524d7d6c527f9c7bd171446da57 (patch)
tree3b5897225848ab992cac0cf9a5474230a2b5d2e8 /fg21sim/configs/10-galactic.conf.spec
parentb0556c5263710635972ad5e25af9c3806a9fca03 (diff)
downloadfg21sim-c9a0ad9acd536524d7d6c527f9c7bd171446da57.tar.bz2
configs: Add sample config spec for galactic components
Diffstat (limited to 'fg21sim/configs/10-galactic.conf.spec')
-rw-r--r--fg21sim/configs/10-galactic.conf.spec30
1 files changed, 30 insertions, 0 deletions
diff --git a/fg21sim/configs/10-galactic.conf.spec b/fg21sim/configs/10-galactic.conf.spec
new file mode 100644
index 0000000..491b3db
--- /dev/null
+++ b/fg21sim/configs/10-galactic.conf.spec
@@ -0,0 +1,30 @@
+# Configurations for "fg21sim"
+# -*- mode: conf -*-
+#
+# Syntax: `ConfigObj`, https://github.com/DiffSK/configobj
+#
+# This file contains the general configurations, which control the general
+# behaviors, or will be used in other configuration sections.
+
+
+[galactic]
+
+ # Synchrotron emission component (unpolarized)
+ [[synchrotron]]
+ # 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
+ template_freq = float(default=None)
+ # The unit of the template map pixel
+ template_unit = string(default=None)
+
+ # Whether add fluctuations on the small scales
+ add_smallscales = boolean(default=True)
+
+ # Filename prefix for this component
+ prefix = string(default="gsync")
+ # Whether save this component to disk
+ save = boolean(default=True)
+ # Output directory to save the simulated results
+ output_dir = string(default="")