Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Planck NPIPE #111

Merged
merged 23 commits into from
Jul 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
switch to sampling in theta and report which likelihood is used
Joe Zuntz committed Jul 3, 2024
commit 6100173ce926cd8a57abff3b20fe0cc53382e15b
4 changes: 2 additions & 2 deletions examples/npipe-values.ini
Original file line number Diff line number Diff line change
@@ -3,8 +3,8 @@ a_planck = 0.9 1.0 1.1 ; Total Planck calibration (relative to 1) at ma


[cosmological_parameters]
; cosmomc_theta = 1.0 1.040909 1.08 ; this is actually 100 * theta_mc
h0 = 0.4 0.7 1.0
cosmomc_theta = 0.9 1.040909 1.2 ; this is actually 100 * theta_mc
;h0 = 0.4 0.7 1.0
omch2 = 0.05 0.12 0.2
log1e10As = 2.9 3.0448 3.1 ; structure amplitude parameter

2 changes: 2 additions & 0 deletions likelihood/planck-npipe/npipe_interface.py
Original file line number Diff line number Diff line change
@@ -11,8 +11,10 @@ def setup(options):
marged = options.get_bool(option_section, "use_marginalized", default=True)
if marged:
calculator = PlanckPR4LensingMarged()
print("Using primary CMB-marginalized PR4 likelihood. TT, EE, TE, BB, will not be used")
else:
calculator = PlanckPR4Lensing()
print("NOT using primary CMB-marginalized PR4 likelihood. TT, EE, TE, BB, will be used")
return calculator, marged