Skip to content

Commit b9eb178

Browse files
committed
Undeprecated empty dict, took switch_pol out of EE
1 parent 3c6eb9a commit b9eb178

72 files changed

Lines changed: 105644 additions & 203 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ABCMB/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def __init__(self,
149149

150150
# need this outside of the jit context
151151
# since we want LINX to run on CPU
152-
def run_cosmology(self, params : dict):
152+
def run_cosmology(self, params : dict = {}):
153153
"""
154154
Compute CMB angular power spectra for given parameters.
155155

ABCMB/spectrum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def Cl_one_ell(self, idx, PT, BG, params):
673673

674674
sourceT2 = self.scale_pol * g * (2*sigma_g + Gg0 + Gg2) / 8.
675675

676-
sourceE = jnp.sqrt(6) * sourceT2
676+
sourceE = jnp.sqrt(6) * g * (2*sigma_g + Gg0 + Gg2) / 8.
677677

678678
# Bessel functions
679679
chiT0 = jnp.outer(tau0-tau, k_T0_axis)

Module_Tests/Plots/Cl_lensed.pdf

122 KB
Binary file not shown.

Module_Tests/Plots/Cl_mnu.pdf

122 KB
Binary file not shown.

Module_Tests/Plots/Cl_unlensed.pdf

122 KB
Binary file not shown.

Module_Tests/Plots/Pk.pdf

140 KB
Binary file not shown.
215 KB
Binary file not shown.
209 KB
Binary file not shown.
215 KB
Binary file not shown.
213 KB
Binary file not shown.

0 commit comments

Comments
 (0)