flip.power_spectra.models#

Module Contents#

Functions#

bel_coefficients(sigma_8)

The bel_coefficients function takes in a value for sigma_8 and returns the values of the coefficients

get_nonlinearbel_model(wavenumber, ...)

get_linearbel_model(wavenumber, power_spectrum_linear, ...)

flip.power_spectra.models.bel_coefficients(sigma_8)[source]#

The bel_coefficients function takes in a value for sigma_8 and returns the values of the coefficients a_i, i = 1, 2, 3 and invkdelta as well as b. These are used to calculate the non-linear power spectrum using the fitting formula from Bel et al. (2007). The function is called by Class when calculating P(k)

Parameters:

sigma_8 – Calculate the coefficients of the bessel function

Returns:

The coefficients a_i, i = 1,

flip.power_spectra.models.get_nonlinearbel_model(wavenumber, power_spectrum_linear, **kwargs)[source]#
flip.power_spectra.models.get_linearbel_model(wavenumber, power_spectrum_linear, **kwargs)[source]#