rabacus.cosmology.transfer_functions package

Submodules

rabacus.cosmology.transfer_functions.bbks86 module

The transfer function of BBKS86, http://adsabs.harvard.edu/abs/1986ApJ...304...15B

class rabacus.cosmology.transfer_functions.bbks86.TransferBBKS(cpdict)[source]

Transfer function of BBKS86, http://adsabs.harvard.edu/abs/1986ApJ...304...15B

This transfer function was designed for situations in which the baryon density is much smaller than the cold dark matter density. In symbols, OmegaB << OmegaC. Note that all quantities returned by this class are arbitrarily normalized.

Args:

cpdict (dict) A dictionary of cosmological parameters. For example, see PlanckParameters.
The dictionray cpdict must include the following keys,
  • omegac -> current CDM density in units of critical today
  • h -> Hubble parameter H0 = 100 h km/s/Mpc
  • ns -> slope of primordial power spectrum
Pk_b(k)[source]

Baryon power spectrum

Args:

k (real or array): wavenumber with units of inverse length

Returns:

Pk_b (real or array): Baryon power spectrum at the scales k. Normalization is arbitrary.
Pk_cdm(k)[source]

CDM Power spectrum

Args:

k (real or array): wavenumber with units of inverse length

Returns:

Pk_cdm (real or array): CDM power spectrum at the scales k. Normalization is arbitrary.
T_b(k)[source]

Baryon transfer function (Eq. G4).

Args:

k (real or array): wavenumber with units of inverse length

Returns:

T_b (real or array): baryon transfer function at the scales k. Normalization is arbitrary.
T_cdm(k)[source]

CDM transfer function (Eq. G3).

Args:

k (real or array): wavenumber with units of inverse length

Returns:

T_cdm (real or array): cold dark matter transfer function at the scales k. Normalization is arbitrary.

Module contents

A package for calculating transfer functions.