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, seePlanckParameters.- The dictionray cpdict must include the following keys,
omegac-> current CDM density in units of critical todayh-> Hubble parameter H0 = 100 h km/s/Mpcns-> slope of primordial power spectrum
-
Pk_b(k)[source]¶ Baryon power spectrum
Args:
k (real or array): wavenumber with units of inverse lengthReturns:
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 lengthReturns:
Pk_cdm (real or array): CDM power spectrum at the scales k. Normalization is arbitrary.
Module contents¶
A package for calculating transfer functions.