-
Notifications
You must be signed in to change notification settings - Fork 1
/
EXAMPLE_MCMC20.yaml
578 lines (571 loc) · 14.9 KB
/
EXAMPLE_MCMC20.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
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
timing: False
debug: False
stop_at_error: False
likelihood:
kids.kids_cosmic_shear:
path: ./external_modules/data/kids
data_file: kids_baseline_all.dataset
integration_accuracy: 0
accuracyboost: 1.0
samplingboost: 1.0
kmax_boltzmann: 10.0
des_y3.des_3x2pt:
path: ./external_modules/data/des_y3
data_file: DES_Y1_all_cs.dataset
integration_accuracy: 0
accuracyboost: 1.0
samplingboost: 1.0
kmax_boltzmann: 10.0
params:
As_1e9:
prior:
min: 0.5
max: 5
ref:
dist: norm
loc: 2.866
scale: 0.65
proposal: 0.4
latex: 10^9 A_\mathrm{s})
drop: true
renames: A
As:
value: 'lambda As_1e9: 1e-9 * As_1e9'
latex: A_\mathrm{s}
ns:
prior:
min: 0.87
max: 1.07
ref:
dist: norm
loc: 0.928
scale: 0.01
proposal: 0.01
latex: n_\mathrm{s}
H0:
prior:
min: 55
max: 91
ref:
dist: norm
loc: 71.1
scale: 5
proposal: 3
latex: H_0
omegab:
prior:
min: 0.03
max: 0.07
ref:
dist: norm
loc: 0.0455
scale: 0.004
proposal: 0.004
latex: \Omega_\mathrm{b}
drop: true
omegam:
prior:
min: 0.1
max: 0.9
ref:
dist: norm
loc: 0.211
scale: 0.02
proposal: 0.02
latex: \Omega_\mathrm{m}
drop: true
mnu:
value: 0.06
latex: \m_\\nu
w:
value: -1
latex: w_{0,\mathrm{DE}}
tau:
value: 0.0697186
latex: \tau_\mathrm{reio}
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
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}
omegan2:
latex: \Omega_\mathrm{\\nu} h^2
omegan:
derived: 'lambda omegan2, H0: omegan2/((H0/100)**2)'
latex: \Omega_\mathrm{\\nu}
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
# KIDS CS nuissance parameter begins
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
# Shear calibration parameters
KIDS_M1:
prior:
dist: norm
loc: 0.0
scale: 0.005
ref:
dist: norm
loc: 0.0
scale: 0.005
proposal: 0.005
latex: m_\mathrm{}^1
KIDS_M2:
prior:
dist: norm
loc: 0.0
scale: 0.005
ref:
dist: norm
loc: 0.0
scale: 0.005
proposal: 0.005
latex: m_\mathrm{}^2
KIDS_M3:
prior:
dist: norm
loc: 0.0
scale: 0.005
ref:
dist: norm
loc: 0.0
scale: 0.005
proposal: 0.005
latex: m_\mathrm{}^3
KIDS_M4:
prior:
dist: norm
loc: 0.0
scale: 0.005
ref:
dist: norm
loc: 0.0
scale: 0.005
proposal: 0.005
latex: m_\mathrm{}^4
KIDS_M5:
prior:
dist: norm
loc: 0.0
scale: 0.005
ref:
dist: norm
loc: 0.0
scale: 0.005
proposal: 0.005
latex: m_\mathrm{}^5
# ------------------------------------------------------------------------
# Intrinsic alignment
KIDS_A1_1:
value: 'lambda DES_A1_1: DES_A1_1'
latex: A_\mathrm{1-IA}^1
KIDS_A1_2:
value: 'lambda DES_A1_2: DES_A1_2'
latex: A_\mathrm{1-IA}^2
KIDS_A1_3:
value: 0.0
latex: A_\mathrm{1-IA}^3
KIDS_A1_4:
value: 0.0
latex: A_\mathrm{1-IA}^4
KIDS_A1_5:
value: 0.0
latex: A_\mathrm{1-IA}^5
# ------------------------------------------------------------------------
KIDS_BARYON_Q1:
value: 0.0
latex: BQ1_\mathrm{KiDS}^1
KIDS_BARYON_Q2:
value: 0.0
latex: BQ2_\mathrm{KiDS}^2
KIDS_BARYON_Q3:
value: 0.0
latex: BQ3_\mathrm{KiDS}^1
KIDS_BARYON_Q4:
value: 0.0
latex: BQ4_\mathrm{KiDS}^2
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
# KIDS CS nuissance parameter ends
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
# DES-Y1 3x2 nuissance parameter begins
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
DES_DZ_S1:
prior:
dist: norm
loc: 0.0414632
scale: 0.016
ref:
dist: norm
loc: 0.0414632
scale: 0.016
proposal: 0.005
latex: \Delta z_\mathrm{s,DES}^1
DES_DZ_S2:
prior:
dist: norm
loc: 0.00147332
scale: 0.013
ref:
dist: norm
loc: 0.00147332
scale: 0.013
proposal: 0.005
latex: \Delta z_\mathrm{s,DES}^2
DES_DZ_S3:
prior:
dist: norm
loc: 0.0237035
scale: 0.011
ref:
dist: norm
loc: 0.0237035
scale: 0.011
proposal: 0.005
latex: \Delta z_\mathrm{s,DES}^3
DES_DZ_S4:
prior:
dist: norm
loc: -0.0773436
scale: 0.022
ref:
dist: norm
loc: -0.0773436
scale: 0.022
proposal: 0.005
latex: \Delta z_\mathrm{s,DES}^4
# ------------------------------------------------------------------------
DES_A1_1:
prior:
min: -5
max: 5
ref:
dist: norm
loc: 0.7
scale: 0.5
proposal: 0.5
latex: A_\mathrm{1-IA,DES}^1
DES_A1_2:
prior:
min: -5
max: 5
ref:
dist: norm
loc: -1.7
scale: 0.5
proposal: 0.5
latex: A_\mathrm{1-IA,DES}^2
DES_A2_1: #TATT, not used for Y1
value: 0.0
latex: A_\mathrm{2-IA,DES}^1
DES_A2_2: #TATT, not used for Y1
value: 0.0
latex: A_\mathrm{2-IA,DES}^2
DES_BTA_1: #TATT, not used for Y1
value: 1.0
latex: A_\mathrm{BTA-IA,DES}^1
# ------------------------------------------------------------------------
DES_M1:
prior:
dist: norm
loc: 0.0191832
scale: 0.023
ref:
dist: norm
loc: 0.0191832
scale: 0.023
proposal: 0.005
latex: m_\mathrm{DES}^1
DES_M2:
prior:
dist: norm
loc: -0.0431752
scale: 0.023
ref:
dist: norm
loc: -0.0431752
scale: 0.023
proposal: 0.005
latex: m_\mathrm{DES}^2
DES_M3:
prior:
dist: norm
loc: -0.034961
scale: 0.023
ref:
dist: norm
loc: -0.034961
scale: 0.023
proposal: 0.005
latex: m_\mathrm{DES}^3
DES_M4:
prior:
dist: norm
loc: -0.0158096
scale: 0.023
ref:
dist: norm
loc: -0.0158096
scale: 0.023
proposal: 0.005
latex: m_\mathrm{DES}^4
# ------------------------------------------------------------------------
# BARYON PCA
DES_BARYON_Q1:
value: 0.0
latex: BQ1_\mathrm{DES}^1
DES_BARYON_Q2:
value: 0.0
latex: BQ2_\mathrm{DES}^2
DES_BARYON_Q3:
value: 0.0
latex: BQ3_\mathrm{DES}^3
DES_BARYON_Q4:
value: 0.0
latex: BQ4_\mathrm{DES}^4
# ------------------------------------------------------------------------
DES_PM1:
value: 0.0
latex: PM_\mathrm{DES}^1
DES_PM2:
value: 0.0
latex: PM_\mathrm{DES}^2
DES_PM3:
value: 0.0
latex: PM_\mathrm{DES}^3
DES_PM4:
value: 0.0
latex: PM_\mathrm{DES}^4
DES_PM5:
value: 0.0
latex: PM_\mathrm{DES}^5
# ------------------------------------------------------------------------
DES_BMAG_1:
value: 1.0
latex: b_\mathrm{BMAG-DES}^1
DES_BMAG_2:
value: 1.0
latex: b_\mathrm{BMAG-DES}^2
DES_BMAG_3:
value: 1.0
latex: b_\mathrm{BMAG-DES}^3
DES_BMAG_4:
value: 1.0
latex: b_\mathrm{BMAG-DES}^4
DES_BMAG_5:
value: 1.0
latex: b_\mathrm{BMAG-DES}^5
# ------------------------------------------------------------------------
DES_DZ_L1:
prior:
dist: norm
loc: 0.00457604
scale: 0.007
ref:
dist: norm
loc: 0.00457604
scale: 0.007
proposal: 0.004
latex: \Delta z_\mathrm{l,DES}^1
DES_DZ_L2:
prior:
dist: norm
loc: 0.000309875
scale: 0.007
ref:
dist: norm
loc: 0.000309875
scale: 0.007
proposal: 0.003
latex: \Delta z_\mathrm{l,DES}^2
DES_DZ_L3:
prior:
dist: norm
loc: 0.00855907
scale: 0.006
ref:
dist: norm
loc: 0.00855907
scale: 0.006
proposal: 0.003
latex: \Delta z_\mathrm{l,DES}^3
DES_DZ_L4:
prior:
dist: norm
loc: -0.00316269
scale: 0.01
ref:
dist: norm
loc: -0.00316269
scale: 0.01
proposal: 0.005
latex: \Delta z_\mathrm{l,DES}^4
DES_DZ_L5:
prior:
dist: norm
loc: -0.0146753
scale: 0.01
ref:
dist: norm
loc: -0.0146753
scale: 0.01
proposal: 0.005
latex: \Delta z_\mathrm{l,DES}^5
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
# DES-Y1 3x2 nuissance parameter ends
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
# ------------------------------------------------------------------------
theory:
camb:
path: ./external_modules/code/CAMB
use_renames: True
extra_args:
halofit_version: takahashi
AccuracyBoost: 1.1
lens_potential_accuracy: 1.00
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:
covmat_params:
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# Proposal covariance matrix learning
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
learn_proposal: True
# Don't learn if convergence better than...
learn_proposal_Rminus1_min: 0.03
# Don't learn if convergence is worse than...
learn_proposal_Rminus1_max: 50.
# (even earlier if a param is not in the given covariance matrix)
learn_proposal_Rminus1_max_early: 2000.
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# Convergence and stopping
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# Maximum number of posterior evaluations
max_samples: .inf
# Gelman-Rubin R-1 on means
Rminus1_stop: 0.02
# Gelman-Rubin R-1 on std deviations
Rminus1_cl_stop: 0.2
Rminus1_cl_level: 0.95
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# Exploiting speed hierarchy
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
measure_speeds: False
drag: False
oversample_power: 0.25
oversample_thin: True
blocking:
- [1,
[
As_1e9, ns, H0, omegab, omegam
]
]
- [3,
[
KIDS_DZ_S1, KIDS_DZ_S2, KIDS_DZ_S3, KIDS_DZ_S4, KIDS_DZ_S5, DES_DZ_S1, DES_DZ_S2,
DES_DZ_S3, DES_DZ_S4, DES_A1_1, DES_A1_2, DES_B1_1, DES_B1_2, DES_B1_3, DES_B1_4,
DES_B1_5, DES_DZ_L1, DES_DZ_L2, DES_DZ_L3, DES_DZ_L4, DES_DZ_L5,
]
]
- [25,
[
KIDS_M1, KIDS_M2, KIDS_M3, KIDS_M4, KIDS_M5, DES_M1, DES_M2, DES_M3, DES_M4
]
]
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# Avoid chain getting suck forever
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
max_tries: 10000
burn_in: 0
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
# When no MPI used, number of fractions of the chain to compare
# ---------------------------------------------------------------------
# ---------------------------------------------------------------------
Rminus1_single_split: 4
# evaluate:
# N: 1
# override:
# As_1e9: 2.1
# ns: 0.96605
# H0: 67.32
# omegab: 0.04
# omegam: 0.3
# DES_DZ_S1: 0.0414632
# DES_DZ_S2: 0.00147332
# DES_DZ_S3: 0.0237035
# DES_DZ_S4: -0.0773436
# DES_M1: 0.0191832
# DES_M2: -0.0431752
# DES_M3: -0.034961
# DES_M4: -0.0158096
# DES_A1_1: 0.606102
# DES_A1_2: -1.51541
# DES_DZ_L1: 0.00457604
# DES_DZ_L2: 0.000309875
# DES_DZ_L3: 0.00855907
# DES_DZ_L4: -0.00316269
# DES_DZ_L5: -0.0146753
# DES_B1_1: 1.72716
# DES_B1_2: 1.65168
# DES_B1_3: 1.61423
# DES_B1_4: 1.92886
# DES_B1_5: 2.11633
# KIDS_DZ_S1: -0.001
# KIDS_DZ_S2: 0.004
# KIDS_DZ_S3: 0.011
# KIDS_DZ_S4: -0.008
# KIDS_DZ_S5: 0.003
# KIDS_M1: 0.0
# KIDS_M2: 0.0
# KIDS_M3: 0.0
# KIDS_M4: 0.0
# KIDS_M5: 0.0
output: ./projects/kids/chains/EXAMPLE_MCMC20