Skip to main content

Module physics

Module physics 

Source
Expand description

Fundamental and derived physical constants (SI units, CODATA 2022).

Constants§

ALPHA
Fine-structure constant α (dimensionless)
AMU
Atomic mass constant (unified atomic mass unit), kg
AU
Astronomical unit, m (exact, IAU 2012)
BOHR_RADIUS
Bohr radius a₀ = ħ/(m_e·c·α), m
C
Speed of light in vacuum, m/s (exact)
C1_RADIATION
First radiation constant c₁ = 2πhc², W·m²
C2_RADIATION
Second radiation constant c₂ = hc/k, m·K
CLASSICAL_ELECTRON_RADIUS
Classical electron radius r_e = α·ħ/(m_e·c), m
COMPTON_WAVELENGTH
Compton wavelength of the electron λ_C = h/(m_e·c), m
COMPTON_WAVELENGTH_REDUCED
Reduced Compton wavelength ƛ_C = ħ/(m_e·c), m
CP_WATER
Specific heat of water at 15 °C, J/(kg·K) (approx.)
DELTA_NU_CS
Cesium hyperfine transition frequency, Hz (exact)
EARTH_ANGULAR_VELOCITY
Earth’s angular rotation rate, rad/s (WGS-84)
EARTH_MOON_DISTANCE
Mean Earth–Moon distance, m
ELECTRON_REST_ENERGY
Electron rest energy m_e·c², J
EV
Electron-volt, J
E_CHARGE
Elementary charge, C (exact)
FARADAY
Faraday constant F = N_A·e, C/mol
G
Newtonian constant of gravitation G, m³/(kg·s²)
GAMMA_AIR
Adiabatic index of air (diatomic ideal gas)
GM_SUN
Nominal solar mass parameter GM☉, m³/s² (IAU 2015 nominal)
H
Planck constant, J·s (exact)
HARTREE
Hartree energy E_h = m_e·c²·α² = 2hc·R∞, J (CODATA 2022)
HBAR
Reduced Planck constant ħ = h/2π, J·s
HUBBLE_APPROX
Hubble constant (≈ 70 km/s/Mpc) expressed in 1/s — a rough reference value
INV_ALPHA
Inverse fine-structure constant 1/α
JULIAN_YEAR
Julian year, s (exact)
K_B
Boltzmann constant, J/K (exact)
K_CD
Luminous efficacy of 540 THz radiation, lm/W (exact)
LIGHT_YEAR
Light-year, m (exact)
L_SUN
Nominal solar luminosity, W (IAU 2015)
MOLAR_VOLUME_STP
Molar volume of an ideal gas at 273.15 K and 101.325 kPa, m³/mol
MP_OVER_ME
Proton-to-electron mass ratio
M_E
Electron mass, kg
M_EARTH
Earth mass, kg
M_MOON
Moon mass, kg
M_N
Neutron mass, kg
M_P
Proton mass, kg
M_SUN
Solar mass, kg
N_A
Avogadro constant, 1/mol (exact)
PARSEC
Parsec, m (exact: 648000/π AU)
PLANCK_LENGTH
Planck length, m
PLANCK_MASS
Planck mass, kg
PLANCK_TEMPERATURE
Planck temperature, K
PLANCK_TIME
Planck time, s
PROTON_REST_ENERGY
Proton rest energy m_p·c², J
RHO_AIR_ISA
Density of dry air at 15 °C, 101.325 kPa, kg/m³ (ISA)
RHO_WATER
Density of water at 4 °C, kg/m³ (approx.)
RYDBERG
Rydberg constant R∞ = α²·m_e·c/(2h), 1/m (CODATA 2022 value: the formula with the rounded α and m_e is off by ten times R∞’s uncertainty)
RYDBERG_ENERGY
Rydberg energy = E_h / 2, J
R_EARTH_EQUATORIAL
Earth equatorial radius (WGS-84), m
R_EARTH_MEAN
Earth mean radius, m
R_GAS
Molar gas constant R = N_A·k_B, J/(mol·K)
R_SPECIFIC_AIR
Specific gas constant of dry air, J/(kg·K)
R_SUN
Nominal solar radius, m (IAU 2015)
SIDEREAL_DAY
Sidereal day, s
SIGMA_SB
Stefan–Boltzmann constant σ = 2π⁵k⁴/(15h³c²), W/(m²·K⁴)
SOLAR_CONSTANT
Solar constant (total solar irradiance at 1 AU), W/m²
SPEED_OF_SOUND_AIR_0C
Speed of sound in dry air at 0 °C, m/s
SPEED_OF_SOUND_AIR_20C
Speed of sound in dry air at 20 °C, m/s
STANDARD_ATMOSPHERE
Standard atmosphere, Pa (exact)
STANDARD_GRAVITY
Standard acceleration of gravity gₙ, m/s² (exact)
STANDARD_PRESSURE
Standard-state pressure (IUPAC), Pa (exact)
THOMSON_CROSS_SECTION
Thomson scattering cross-section σ_T = (8π/3)·r_e², m²
T_ROOM
Room temperature (20 °C), K
T_STP
Standard temperature for chemistry (STP, IUPAC), K
T_TRIPLE_WATER
Triple point of water, K
WIEN_B
Wien wavelength displacement constant b, m·K
WIEN_B_FREQ
Wien frequency displacement constant, Hz/K
ZERO_CELSIUS
0 °C in kelvin