darkhistory.physics¶
Physics functions as well as constants.
Throughout DarkHistory, we choose cm, s and eV as our system of units. Masses and temperatures are also given in eV. Particle Data Group central values [1]_ are used for constants, while cosmological parameters are set to the central values of the Planck 2018 baseline TT,TE,EE+lowE+lensing [2]_.
Module Attributes
Proton mass in eV. |
|
Electron mass in eV. |
|
Helium nucleus mass in eV. |
|
hbar in eV s. |
|
Speed of light in cm s-1. |
|
Boltzmann constant in eV K-1. |
|
Fine structure constant. |
|
Electron charge in coulombs. |
|
Newton's Gravitational Constant in cm3 g-1 s-2. |
|
Masses of Standard Model particles. |
|
Thomson cross section in cm2. |
|
Stefan-Boltzmann constant in eV-3 cm-2 s-1. |
|
Classical electron radius in cm. |
|
Electron Compton wavelength in cm. |
|
h parameter. |
|
Hubble parameter today in s-1. |
|
Omega of all matter today. |
|
Omega of radiation today. |
|
Omega of dark energy today. |
|
Omega of baryons today. |
|
Omega of dark matter today. |
|
Critical density of the universe in eV cm-3. |
|
DM density in eV cm-3. |
|
Baryon density in eV cm-3. |
|
Baryon number density in eV cm-3. |
|
Helium abundance by mass. |
|
Atomic hydrogen number density in cm-3. |
|
Atomic helium number density in cm-3. |
|
Hydrogen and helium number density in cm-3. |
|
Ratio of helium to hydrogen nuclei. |
|
Ionization potential of ground state hydrogen in eV. |
|
Lyman alpha transition energy in eV. |
|
Lyman alpha transition frequency in Hz. |
|
Hydrogen 2s to 1s decay width in s-1. |
|
Bohr radius in cm. |
|
Energy needed to singly ionize neutral He in eV. |
|
HeI n=1 to n=2 excitation wavelength in cm. |
|
HeI n=1 to n=2 excitation energies in eV. |
|
Einstein coefficient for 21p \(\\to\) 1s decay in s-1. |
|
Einstein coefficient for 23P1 \(\\to\) 1s decay in s-1. |
|
Width of He 21s \(\\to\) 1s decay in s-1. |
Functions
CMB number density in cm-3. |
|
CMB energy density in eV cm-3. |
|
|
CMB spectrum in number of photons cm-3 eV-1. |
|
Helium C coefficients. |
|
CMB temperature in eV. |
|
Baseline Tm value. |
|
Case-B recombination coefficient. |
|
Case-B photoionization coefficient. |
|
e-e collisional excitation cross section in cm2. |
|
Secondary electron spectrum after collisional ionization. |
|
e-e collisional ionization cross section in cm2. |
|
z-derivative of the Saha equilibrium ionization value. |
|
dt/dz in s. |
|
Electron energy loss rate of electrons due to Coulomb heating in eV s-1. |
|
energy deposition fraction into channel c, f_c(z), as a function of dark matter mass and redshift. |
|
Computes the optical depth given an ionization history. |
|
Hubble parameter in s-1. |
|
Dark matter annihilation/decay energy injection rate. |
|
Hydrogen Peebles C coefficient. |
|
Photoionization rate in cm-3 s-1. |
|
Photoionization cross section in cm2. |
|
Structure formation boost factor 1+B(z). |
|
Baseline nHII/nH value. |
|
Baseline nHeII/nH value. |
|
Saha equilibrium ionization value for H and He. |
