-
Notifications
You must be signed in to change notification settings - Fork 0
/
EXAMPLE_MCMC1.yaml
356 lines (351 loc) · 8.57 KB
/
EXAMPLE_MCMC1.yaml
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
timing: False
debug: False
stop_at_error: False
likelihood:
lsst_y1.lsst_cosmic_shear:
path: ./external_modules/data/lsst_y1
print_datavector: False
accuracyboost: 1.0
integration_accuracy: 0
kmax_boltzmann: 5.0
# 1 EE2, 2 Halofit
non_linear_emul: 2
IA_model: 0
IA_redshift_evolution: 3
params:
As_1e9:
prior:
min: 0.5
max: 5
ref:
dist: norm
loc: 2.1
scale: 0.2
proposal: 0.2
latex: 10^9 A_\mathrm{s}
drop: true
renames: A
ns:
prior:
min: 0.87
max: 1.07
ref:
dist: norm
loc: 0.96605
scale: 0.015
proposal: 0.015
latex: n_\mathrm{s}
H0:
prior:
min: 55
max: 91
ref:
dist: norm
loc: 67.32
scale: 3
proposal: 3
latex: H_0
omegab:
prior:
min: 0.03
max: 0.07
ref:
dist: norm
loc: 0.0495
scale: 0.005
proposal: 0.005
latex: \Omega_\mathrm{b}
drop: true
omegam:
prior:
min: 0.1
max: 0.9
ref:
dist: norm
loc: 0.316
scale: 0.015
proposal: 0.015
latex: \Omega_\mathrm{m}
drop: true
w:
prior:
min: -3
max: -0.01
ref:
dist: norm
loc: -0.99
scale: 0.02
proposal: 0.02
latex: w_{0,\mathrm{DE}}
mnu:
value: 0.06
tau:
value: 0.0697186
latex: \tau_\mathrm{reio}
# ---------------------------------------------------------------------------------------
# ------------------------------------- DERIVED PARAMETERS ------------------------------
# ---------------------------------------------------------------------------------------
# WARNING: DO NOT REMOVE omegabh2/omegach2/omegamh2/wa/As/ FROM DERIVED PARAMETERS
# WARNING: DO NOT REMOVE THE DROP FLAG FROM omegab/omegam/As_1e9/w0pwa
# SEE: github.com/CosmoLike/cocoa#warning-warning-warning-weak-lensing-yaml-files-in-cobaya-
# ---------------------------------------------------------------------------------------
As:
value: 'lambda As_1e9: 1e-9 * As_1e9'
latex: A_\mathrm{s}
omegabh2:
value: 'lambda omegab, H0: omegab*(H0/100)**2'
latex: \Omega_\mathrm{b} h^2
omegach2:
value: 'lambda omegam, omegab, mnu, H0: (omegam-omegab)*(H0/100)**2-(mnu*(3.046/3)**0.75)/94.0708'
latex: \Omega_\mathrm{c} h^2
omegal:
latex: \Omega_\Lambda
omegamh2:
derived: 'lambda omegam, H0: omegam*(H0/100)**2'
latex: \Omega_\mathrm{m} h^2
sigma8:
latex: \sigma_8
s8h5:
derived: 'lambda sigma8, H0: sigma8*(H0*1e-2)**(-0.5)'
latex: \sigma_8/h^{0.5}
s8omegamp5:
derived: 'lambda sigma8, omegam: sigma8*omegam**0.5'
latex: \sigma_8 \Omega_\mathrm{m}^{0.5}
s8omegamp25:
derived: 'lambda sigma8, omegam: sigma8*omegam**0.25'
latex: \sigma_8 \Omega_\mathrm{m}^{0.25}
age:
latex: '{\rm{Age}}/\mathrm{Gyr}'
rdrag:
latex: r_\mathrm{drag}
yheused:
latex: Y_P^\mathrm{BBN}
omegan2:
latex: \Omega_\mathrm{\\nu} h^2
omegan:
derived: 'lambda omegan2, H0: omegan2/((H0/100)**2)'
latex: \Omega_\mathrm{\\nu}
LSST_BARYON_Q1:
value: 0.0
latex: Q1_\mathrm{LSST}^1
LSST_BARYON_Q2:
value: 0.0
latex: Q2_\mathrm{LSST}^2
# WL photo-z errors
LSST_DZ_S1:
prior:
dist: norm
loc: 0.0414632
scale: 0.002
ref:
dist: norm
loc: 0.0414632
scale: 0.002
proposal: 0.002
latex: \Delta z_\mathrm{s,LSST}^1
LSST_DZ_S2:
prior:
dist: norm
loc: 0.00147332
scale: 0.002
ref:
dist: norm
loc: 0.00147332
scale: 0.002
proposal: 0.002
latex: \Delta z_\mathrm{s,LSST}^2
LSST_DZ_S3:
prior:
dist: norm
loc: 0.0237035
scale: 0.002
ref:
dist: norm
loc: 0.0237035
scale: 0.002
proposal: 0.002
latex: \Delta z_\mathrm{s,LSST}^3
LSST_DZ_S4:
prior:
dist: norm
loc: -0.0773436
scale: 0.002
ref:
dist: norm
loc: -0.0773436
scale: 0.002
proposal: 0.002
latex: \Delta z_\mathrm{s,LSST}^4
LSST_DZ_S5:
prior:
dist: norm
loc: -8.67127e-05
scale: 0.002
ref:
dist: norm
loc: -8.67127e-05
scale: 0.002
proposal: 0.002
latex: \Delta z_\mathrm{s,LSST}^5
# Intrinsic alignment
LSST_A1_1:
prior:
min: -5
max: 5
ref:
dist: norm
loc: 0.7
scale: 0.5
proposal: 0.5
latex: A_\mathrm{1-IA,LSST}^1
LSST_A1_2:
prior:
min: -5
max: 5
ref:
dist: norm
loc: -1.7
scale: 0.5
proposal: 0.5
# Shear calibration parameters
LSST_M1:
prior:
dist: norm
loc: 0.0191832
scale: 0.005
ref:
dist: norm
loc: 0.0191832
scale: 0.005
proposal: 0.005
latex: m_\mathrm{LSST}^1
LSST_M2:
prior:
dist: norm
loc: -0.0431752
scale: 0.005
ref:
dist: norm
loc: -0.0431752
scale: 0.005
proposal: 0.005
latex: m_\mathrm{LSST}^2
LSST_M3:
prior:
dist: norm
loc: -0.034961
scale: 0.005
ref:
dist: norm
loc: -0.034961
scale: 0.005
proposal: 0.005
latex: m_\mathrm{LSST}^3
LSST_M4:
prior:
dist: norm
loc: -0.0158096
scale: 0.005
ref:
dist: norm
loc: -0.0158096
scale: 0.005
proposal: 0.005
latex: m_\mathrm{LSST}^4
LSST_M5:
prior:
dist: norm
loc: -0.0158096
scale: 0.005
ref:
dist: norm
loc: -0.0158096
scale: 0.005
proposal: 0.005
latex: m_\mathrm{LSST}^5
theory:
camb:
path: ./external_modules/code/CAMB
stop_at_error: False
use_renames: True
extra_args:
halofit_version: takahashi
AccuracyBoost: 1.1
lens_potential_accuracy: 1.0
num_massive_neutrinos: 1
nnu: 3.046
dark_energy_model: ppf
accurate_massive_neutrino_transfers: false
k_per_logint: 20
sampler:
mcmc:
# ---------------------------------------------------------------------
# File (w/ path) or matrix defining a covariance matrix for the proposal:
# - null (default): will be generated from params info (prior and proposal)
# - matrix: remember to set `covmat_params` to the parameters in the matrix
covmat: ./projects/lsst_y1/EXAMPLE_MCMC1.covmat
covmat_params:
# --------------------------------------
# --------------------------------------
# Proposal covariance matrix learning
# --------------------------------------
# --------------------------------------
learn_proposal: True
# Don't learn if convergence better than...
learn_proposal_Rminus1_min: 0.035
# Don't learn if convergence is worse than...
learn_proposal_Rminus1_max: 150
# (even earlier if a param is not in the given covariance matrix)
learn_proposal_Rminus1_max_early: 300.
# --------------------------------------
# --------------------------------------
# Convergence and stopping
# --------------------------------------
# --------------------------------------
# Maximum number of posterior evaluations
max_samples: .inf
# Gelman-Rubin R-1 on means
Rminus1_stop: 0.005
# Gelman-Rubin R-1 on std deviations
Rminus1_cl_stop: 0.15
Rminus1_cl_level: 0.95
# --------------------------------------
# --------------------------------------
# Exploiting speed hierarchy
# --------------------------------------
# --------------------------------------
measure_speeds: False
drag: False
# Cosmolike Cosmic Shear without Cosmo change is ~0.1seconds (8 cores) @OCelote
blocking:
- [1,
[
As_1e9, ns, H0, omegab, omegam, w
]
]
- [6,
[
LSST_DZ_S1, LSST_DZ_S2, LSST_DZ_S3, LSST_DZ_S4, LSST_DZ_S5, LSST_A1_1, LSST_A1_2
]
]
- [25,
[
LSST_M1, LSST_M2, LSST_M3, LSST_M4, LSST_M5
]
]
oversample_power: 0.3
oversample_thin: True
# --------------------------------------
# --------------------------------------
# Avoid chain getting suck forever
# --------------------------------------
# --------------------------------------
max_tries: .inf
burn_in: 0
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# When no MPI used, number of fractions of the chain to compare
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
Rminus1_single_split: 4
output: ./projects/lsst_y1/chains/EXAMPLE_MCMC1