-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51 from joezuntz/planck-lite-example
Add planck lite example
- Loading branch information
Showing
2 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[runtime] | ||
sampler = test | ||
root = ${PWD} | ||
|
||
[test] | ||
save_dir=output/planck | ||
fatal_errors=T | ||
|
||
|
||
[pipeline] | ||
; these names refer to sections later in the file: | ||
modules = consistency camb planck | ||
values = examples/planck_lite_values.ini | ||
quiet=F | ||
debug=T | ||
timing=T | ||
|
||
|
||
[planck] | ||
file = likelihood/planck_py/planck_py_interface.py | ||
use_low_ell_bins = T | ||
spectra = TTTEEE | ||
year = 2018 | ||
|
||
|
||
; The consistency module translates between our chosen parameterization | ||
; and any other that modules in the pipeline may want (e.g. camb) | ||
[consistency] | ||
file = ./utility/consistency/consistency_interface.py | ||
|
||
|
||
[camb] | ||
file = boltzmann/camb/camb_interface.py | ||
mode = cmb | ||
lmax = 2800 ;max ell to use for cmb calculation | ||
feedback=2 ;amount of output to print | ||
AccuracyBoost=1.1 ;CAMB accuracy boost parameter | ||
do_tensors = True ;include tensor modes | ||
do_lensing = True ;lensing is required w/ Planck data | ||
NonLinear = lens | ||
accurate_massive_neutrino_transfers = F | ||
halofit_version = takahashi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[cosmological_parameters] | ||
h0 = 0.6726 ;H0 (km/s/Mpc)/100.0km/s/Mpc | ||
omega_m = 0.3141 ;density fraction for matter today | ||
omega_b = 0.04 ;density fraction for baryons today | ||
omega_k = 0.0 ;spatial curvature | ||
|
||
;neutrinos | ||
mnu = 0.06 | ||
nnu = 3.046 | ||
num_massive_neutrinos = 1 | ||
|
||
|
||
;helium | ||
yhe = 0.245341 ;helium mass fraction | ||
|
||
;reionization | ||
tau = 0.08 ;reionization optical depth | ||
|
||
;inflation Parameters | ||
n_s = 0.96 ;scalar spectral index | ||
A_s = 2.1e-9 ;scalar spectrum primordial amplitude | ||
k_s = 0.05 ;Power spectrum pivot scale | ||
n_run = 0.0 ;running of scalar spectrum | ||
r_t = 0.0 ;tensor to scalar ratio | ||
n_t = 0.0 ;tensor spectral index | ||
|
||
;dark energy equation of state | ||
w = -1.0 ;equation of state of dark energy | ||
wa = 0.0 ;equation of state of dark energy (redshift dependency) | ||
|