jax_cosmo.angular_cl module¶
-
jax_cosmo.angular_cl.
angular_cl
(cosmo, ell, probes, transfer_fn=<function Eisenstein_Hu>, nonlinear_fn=<function halofit>)[source]¶ Computes angular Cls for the provided probes
All using the Limber approximation
Returns: cls Return type: [ell, ncls]
-
jax_cosmo.angular_cl.
gaussian_cl_covariance
(ell, probes, cl_signal, cl_noise, f_sky=0.25, sparse=True)[source]¶ Computes a Gaussian covariance for the angular cls of the provided probes
Set sparse True to return a sparse matrix representation that uses a factor of n_ell less memory and is compatible with the linear algebra operations in
jax_cosmo.sparse
.return_cls: (returns covariance)
-
jax_cosmo.angular_cl.
gaussian_cl_covariance_and_mean
(cosmo, ell, probes, transfer_fn=<function Eisenstein_Hu>, nonlinear_fn=<function halofit>, f_sky=0.25, sparse=False)[source]¶ Computes a Gaussian covariance for the angular cls of the provided probes
Set sparse True to return a sparse matrix representation that uses a factor of n_ell less memory and is compatible with the linear algebra operations in
jax_cosmo.sparse
.return_cls: (returns signal + noise cl, covariance)