Class
NumCosmoMathC
Description [src]
final class NumCosmoMath.C : GObject.Object
{
/* No available fields */
}
Numerical and physical constants.
Mathematical and physical constants and constants manipulation functions.
The sources are:
-
High precision mathematical constants obtained from MPFR.
-
Fundamental constants: CODATA 2022 recommended values, see constants.txt distributed with NumCosmo sources.
-
The atomic weights: Commission on Isotopic Abundances and Atomic Weights (CIAAW 2021) of the International Union of Pure and Applied Chemistry (IUPAC). See also the NIST compilation.
-
Astronomical constants: IAU 2015 resolutions for the astronomical unit ncm_c_au(), parsec
ncm_c_pc()and derived constants. See also [Luzum 2011][XLuzum2011]. -
Atomic Spectra: National Institute of Standards and Technology (NIST) Atomic Spectra Standard Reference Database 78 - Version 5.11 (October 2023).
Last checked: August 24, 2024.
Functions
ncm_c_HI_Lyman_wl3_8pi_2p_2P0_5
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HI_Lyman_wl3_8pi_2p_2P3_5
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HI_Lyman_wl3_8pi_2p_2Pmean
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HI_Lyman_wl3_8pi_2s_2S0_5
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_H_bind
Energy difference from unbounded state to state $(n,\,j)$, i.e., minus the binding energy of the state $(n,\,j)$, calculated from \begin{equation} E^\mathrm{H}{n,j} = m\mathrm{e}c^2\left[1 - f(n,j)\right], \end{equation} where \begin{align} f(n, j) &= \left[1+\left(\frac{\alpha}{n - \delta(j)}\right)^2\right]^{-\frac{1}{2}}, \ \delta(j) &= j+\frac{1}{2} + \sqrt{\left(j+1/2\right)^2 - \alpha^2}. \end{align}.
ncm_c_HeII_ion_E_1s_2S0_5
Ionization energy for He-II $1s\,{}^2\!S_{1/2}$ state, i.e., $E_{1s\,{}^2\!S_{1/2}} = hc \times k_{1s\,{}^2\!S_{1/2}}$.
ncm_c_HeI_Balmer_E_kb_2p_1P1_2s_1S0
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HeI_Balmer_E_kb_2p_3Pmean_2s_3S1
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HeI_Balmer_wn_2p_1P1_2s_1S0
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HeI_Balmer_wn_2p_3Pmean_2s_3S1
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HeI_Lyman_wl3_8pi_2p_1P1
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HeI_Lyman_wl3_8pi_2p_3P0
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HeI_Lyman_wl3_8pi_2p_3P1
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HeI_Lyman_wl3_8pi_2p_3P2
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HeI_Lyman_wl3_8pi_2p_3Pmean
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HeI_Lyman_wl3_8pi_2s_1S0
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HeI_Lyman_wl3_8pi_2s_3S1
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HeI_Lyman_wl_2p_3Pmean
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_HeI_Lyman_wn_2p_3Pmean
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_au
Using IAU 2015 recommendation see [description][NcmC.description], compatible with NASA JPL recommendations (as in 5 January 2016).
ncm_c_blackbody_energy_density
This functions returns the black body energy density divided by $T^4$. Defined as \begin{equation} \frac{\rho_{\text{BL}}}{T^4} = \frac{8\pi^2k_{\text{b}}^4}{15 \left( hc \right)^3}, \end{equation} where $\rho_{\text{BL}}$ is the black body energy density, $T$ is the temperature, $k_{\text{b}}$ is the Boltzmann constant (#ncm_c_kb()), $h$ is the Planck constant (#ncm_c_h()) and $c$ is the speed of light (#ncm_c_c()).
ncm_c_blackbody_per_crit_density_h2
This functions returns ncm_c_blackbody_energy_density () $/$ ncm_c_crit_density_h2 ().
ncm_c_boltzmann_factor_HI_1s_2S0_5
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_boltzmann_factor_HI_2p_2P0_5
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_boltzmann_factor_HI_2p_2P3_5
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_boltzmann_factor_HI_2p_2Pmean
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_boltzmann_factor_HI_2s_2S0_5
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_boltzmann_factor_HeI_1s_1S0
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_boltzmann_factor_HeI_2p_1P1
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_boltzmann_factor_HeI_2p_3P0
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_boltzmann_factor_HeI_2p_3P1
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_boltzmann_factor_HeI_2p_3P2
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_boltzmann_factor_HeI_2p_3Pmean
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_boltzmann_factor_HeI_2s_1S0
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_boltzmann_factor_HeI_2s_3S1
NIST compilation of atomic spectra see [description][NcmC.description].
ncm_c_crit_density_h2
The critical density is defined as \begin{equation} \rho_{\mathrm{crit}0} = \frac{3 c^2 H_0^2}{8\pi G}, \end{equation} where $G$ is the gravitational constant (#ncm_c_G()), $c$ is the speed of light (#ncm_c_c()) and $H_0$ is the Hubble parameter, $$H_0 = 100 \times \mathsf{h} \,\left[\text{km}\,\text{s}^{-1}\,\text{Mpc}^{-1}\right].$$.
ncm_c_crit_mass_density_h2
This function computes the critical mass density over $\mathsf{h}^2 \times c^2$.
ncm_c_crit_mass_density_h2_solar_mass_Mpc3
This function computes the critical mass density in units of solar mass $M_\odot$ and Mpc.
ncm_c_crit_number_density_n
This function computes the neutron number density in units of its rest energy. Calculated using ncm_c_crit_density_h2 () $/$ ncm_c_rest_energy_n ().
ncm_c_crit_number_density_p
This function computes the proton number density in units of its rest energy. Calculated using ncm_c_crit_density_h2 () $/$ ncm_c_rest_energy_p ().
ncm_c_decay_H_rate_2s_1s
Theoretical value for the two photons decay rate for Hydrogen $2\mathrm{s} \to 1\mathrm{s}$ states [Goldman 1989][XGoldman1989].
ncm_c_decay_He_rate_2s_1s
Theoretical value for the two photons decay rate for Helium $2\mathrm{s} \to 1\mathrm{s}$ states [Drake 1969][XDrake1969].
ncm_c_hubble_cte_hst
HST Hubble constant final result. See [Freedman (2001)][X2001ApJ…553…47F] [arXiv].
ncm_c_hubble_cte_planck6_base
Planck VI Hubble constant base-$\Lambda$CDM model TT,TE,EE$+$lowE$+$lensing final result. See [Planck Collaboration (2018)][X2018arXiv180706209P] [arXiv].
ncm_c_hubble_radius_hm1_Mpc
Hubble radius in units of $\mathsf{h}^{-1} \, \text{Mpc}$ defined as
\begin{equation}
R_H h^{-1} = \frac{c}{100 \mathsf{h} \, \text{km} \, \text{sec}^{-1} \, \text{Mpc}^{-1}} \, ,
\end{equation}
where $c$ is the speed of light (#ncm_c_c()). Calculated using ncm_c_c() $/$ $10^{5}$.
ncm_c_hubble_radius_hm1_planck
Hubble radius in units of $\mathsf{h}^{-1} \, l_{\text{p}}$. Calculated using ncm_c_hubble_radius_hm1_Mpc () $\times$ ncm_c_Mpc () $/$ ncm_c_planck_length ().
ncm_c_mass_1H
Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_1H_u() $\times$ ncm_c_mass_atomic().
ncm_c_mass_2H
Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_2H_u() $\times$ ncm_c_mass_atomic().
ncm_c_mass_3H
Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_3H_u() $\times$ ncm_c_mass_atomic().
ncm_c_mass_3He
Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_3He_u() $\times$ ncm_c_mass_atomic().
ncm_c_mass_4He
Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_4He_u() $\times$ ncm_c_mass_atomic().
ncm_c_mass_ratio_4He_1H
Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_4He_u() / ncm_c_mass_1H_u().
ncm_c_rest_energy_1H
Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_1H_u() $\times$ ncm_c_rest_energy_atomic().
ncm_c_rest_energy_2H
Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_2H_u() $\times$ ncm_c_rest_energy_atomic().
ncm_c_rest_energy_3H
Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_3H_u() $\times$ ncm_c_rest_energy_atomic().
ncm_c_rest_energy_3He
Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_3He_u() $\times$ ncm_c_rest_energy_atomic().
ncm_c_rest_energy_4He
Obtained from CIAAW commission of IUPAC, see [description][NcmC.description]. Calculated using ncm_c_mass_4He_u() $\times$ ncm_c_rest_energy_atomic().
ncm_c_stats_1sigma
The integral of a Gaussian distribution with mean $\mu$ and standard deviation $\sigma$ in $(\mu - 1 \sigma, \mu + 1 \sigma)$.
ncm_c_stats_2sigma
The integral of a Gaussian distribution with mean $\mu$ and standard deviation $\sigma$ in $(\mu - 2 \sigma, \mu + 2 \sigma)$.
ncm_c_stats_3sigma
The integral of a Gaussian distribution with mean $\mu$ and standard deviation sigma in $(\mu - 3 \sigma, \mu + 3 \sigma)$.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.