-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpowspec.conf
165 lines (157 loc) · 7.15 KB
/
powspec.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# Configuration file for powspec (default: `powspec.conf').
# Format: keyword = value # comment
# or: keyword = [element1, element2]
# see: https://github.com/cheng-zhao/libcfg for details.
# Some of the entries allow expressions, see
# https://github.com/cheng-zhao/libast for details.
# NOTE that command line options have priority over this file.
# Unnecessary entries can be left unset.
####################################################
# Specifications of the data and random catalogs #
####################################################
DATA_CATALOG =
RAND_CATALOG =
# Filename of the input data/random catalogs.
# String or 2-element string array (for cross power spectra).
DATA_FORMAT =
RAND_FORMAT =
# Format of the input catalogs (unset: 0).
# Integer, same dimension as `DATA_CATALOG`.
# Allowed values are:
# * 0: ASCII text file;
# * 1: FITS table.
DATA_SKIP =
RAND_SKIP =
# Number of lines to be skipped for ASCII format input files (unset: 0).
# Long integer, same dimension as `DATA_CATALOG`.
# If only one of catalogs is in ASCII format, set an arbitrary value
# for the other catalog.
DATA_COMMENT =
RAND_COMMENT =
# Characters for indicating comment lines for ASCII files (unset: '').
# Character, same dimension as `DATA_CATALOG`. '' for disabling comments.
DATA_FORMATTER =
RAND_FORMATTER =
# C99-style formatter for parsing lines of ASCII format input files.
# String, same dimension as `DATA_CATALOG` (e.g. "%d %ld %f %lf %s").
# If a column is suppressed by *, it is not counted for the column number.
# e.g., for "%d %*s %f", the float number corresponds to column $2.
# See https://en.cppreference.com/w/c/io/fscanf for details on the format.
DATA_POSITION =
RAND_POSITION =
# 3-D coordinates, in the order of [x,y,z] or [RA,Dec,redshift].
# 3- or 6-element string array, depending on the number of input catalogs.
# They can be column indicator or expressions (e.g. "${RA}" or "$1 % 100").
# Allowed values enclosed by ${}:
# * string: column name of a FITS file;
# * long integer: column number of an ASCII file (starting from 1).
DATA_WT_COMP =
RAND_WT_COMP =
# Completeness weights of data/random (unset: 1).
# Column indicator or expression, same dimension as `DATA_CATALOG`.
DATA_WT_FKP =
RAND_WT_FKP =
# FKP weights of data/random (unset: 1).
# Column indicator or expression, same dimension as `DATA_CATALOG`.
DATA_NZ =
RAND_NZ =
# Radial number density of data/random.
# Column indicator or expression, same dimension as `DATA_CATALOG`.
# `RAND_NZ` is used by default, if it is unset then `DATA_NZ` is used.
DATA_SELECTION =
RAND_SELECTION =
# Selection criteria for the data/random (unset: no selection).
# Logical expression, same dimension as `DATA_CATALOG` (e.g. "$3 > 0.5").
DATA_CONVERT =
RAND_CONVERT =
# Boolean option, same dimension as `DATA_CATALOG` (unset: F).
# True (T) for converting the coordinates from [RA,Dec,redshift] to
# the comoving [x,y,z], given the fiducial cosmology.
##################################################
# Fiducial cosmology for coordinate conversion #
##################################################
OMEGA_M =
# Density parameter of matter at z = 0.
# Double-precision number.
OMEGA_LAMBDA =
# Density parameter of Lambda at z = 0 (unset: 1 - OMEGA_M).
# Double-precision number.
DE_EOS_W =
# Dark energy equation of state: w (unset: -1).
# Double-precision number.
CMVDST_ERR =
# Error for comoving distance evaluation (unset: 1e-08).
# Double-precision number.
Z_CMVDST_CNVT =
# Filename of a table for redshift to comoving distance conversion.
# It must be a text file with two columns: (redshift, comoving distance).
# If this file is set, the cosmological parameters above are omitted.
# Lines starting with '#' are omitted.
##################################################
# Configurations for power spectra evaluation #
##################################################
CUBIC_SIM =
# Indicate whether the input catalogs are from cubic simulation boxes.
# Boolean option, true for omitting the weights and random catalogs.
LINE_OF_SIGHT =
# Unit line-of-sight vector for cubic simulation boxes (unset: [0,0,1]).
# 3-element double array.
BOX_SIZE =
# Side length of the box that catalogs are placed in.
# Double-precision number or 3-element double array.
# Coordinates from simulation boxes should be in [0, `BOX_SIZE`).
# For non-simulation case the catalog is placed at the centre of the box.
# It is mandatory if `CUBIC_SIM` is true.
BOX_PAD =
# Fraction of the extent of catalogs to be padded with 0 (unset: 0.02).
# Double-precision number or 3-element double array.
# It is for determing the box size automatically, if `BOX_SIZE` is unset.
GRID_SIZE =
# Number of grid cells per box side for the density fields and FFT.
# Integer, preferably the power of 2.
PARTICLE_ASSIGN =
# Scheme for assigning particles to grids (unset: 2).
# Integer, allowed values are
# * 0: Nearest-Grid-Point (NGP);
# * 1: Could-In-Cell (CIC);
# * 2: Triangular Shaped Cloud (TSC);
# * 3: Piecewise Cubic Spline (PCS).
GRID_INTERLACE =
# Boolean option, indicate whether to use interlaced grids (unset: F).
#############################
# Settings for the output #
#############################
MULTIPOLE =
# Legendre multipoles to be evaluated, up to ell = 6.
# Integer or integer array (e.g. "[0, 2, 4]")
LOG_SCALE =
# Indicator for linear or logarithm wave number bins (unset: F).
# Boolean option, true for logarithm bins, false for linear bins.
KMIN =
# Lower boundary of the first wave number bin (unset: 0).
# Double-precision number.
KMAX =
# Upper boundary of the last wave number bin (unset: Nyquist frequency).
# Double-precision number.
# It is rounded to the closest bin edge defined by `KMIN` and `BIN_SIZE`,
# and below the Nyquist frequency.
BIN_SIZE =
# Width of each wave number bin.
# Base-10 logarithm of the ratio between two bins for logarithm scale.
OUTPUT_AUTO =
# Name of the output files for auto power spectra.
# String or 2-element string array. Unset or "" for only cross correlations.
OUTPUT_CROSS =
# String, name of the output file for cross power spectrum.
OUTPUT_HEADER =
# Boolean option, indicate whether to write extra information (unset: T)
# If true, write metadata of the catalogs and meshes, as well as shot noise
# and normalisation terms to the header of the output files.
OVERWRITE =
# Integer, indicate whether to overwrite existing files (unset: 0).
# Allowed values are:
# * 0: quit the program when an output file exist;
# * positive: force overwriting output files whenever possible;
# * negative: notify at most this number of times for existing files.
VERBOSE =
# Boolean option, indicate whether to show detailed outputs (unset: T).