compute_tables#

cosmicjellyfish.cosmology.jaxcosmo_theory.compute_tables(params, z, k_hmpc, config, nonlinear=True)[source]#

Evaluate all theory quantities on a (z, k) grid, in CosmicJellyfish units.

Parameters:
  • params (mapping) – See make_cosmology().

  • z (array, shape (nz,)) – Redshifts.

  • k_hmpc (array, shape (nk,)) – Wavenumbers in h/Mpc.

  • config (TheoryConfig) – Static numerical choices.

  • nonlinear (bool) – If False the (expensive) Halofit table is skipped and Pnl is the linear one.

Returns:

H_over_c [1/Mpc], chi [Mpc], d_A [Mpc], Omega_m_z, D (D(0)=1), f (dlnD/dlna), sigma8_z, Plin and Pnl with shape (nz, nk) in Mpc^3. The wavenumber axis corresponds to k = k_hmpc * h [1/Mpc].

Return type:

dict