Physical constants#
CODATA 2022 recommended values, in the units given for each (SI, except the
speed of light in cm/s), importable from the package:
from torchspin import BMAGN.
Name |
Value |
Meaning (unit) |
|---|---|---|
|
Bohr magneton (J T^-1) |
|
|
Planck constant (J s) |
|
|
Free-electron g-factor (dimensionless, positive convention) |
|
|
Nuclear magneton (J T^-1) |
|
|
Boltzmann constant (J K^-1) |
|
|
Speed of light in vacuum (cm s^-1) |
|
|
Electron volt (J) — exact by SI definition since 2019 |
|
|
Reduced Planck constant ℏ = h / (2π) (J s) |
|
|
Atomic mass unit (kg) — CODATA 2022 |
|
|
Elementary charge (C) — exact by SI definition since 2019 |
|
|
Electron mass (kg) — CODATA 2022 |
|
|
Proton mass (kg) — CODATA 2022 |
|
|
Neutron mass (kg) — CODATA 2022 |
|
|
Vacuum permittivity ε₀ (F m⁻¹) — exact: 1/(μ₀ c²) |
|
|
Vacuum permeability μ₀ (H m⁻¹) — CODATA 2022 (no longer exact) |
|
|
Faraday constant (C mol⁻¹) — exact: N_A × e |
|
|
Avogadro’s number (mol⁻¹) — exact by SI definition since 2019 |
|
|
Bohr radius (m) — CODATA 2022 |
|
|
Hartree energy (J) — CODATA 2022 |
|
|
Rydberg constant × hc (J) — CODATA 2022 |
|
|
Angstrom — molecular-scale length unit (m) — exact |
|
|
Electron gyromagnetic ratio γ_e = g_e × μ_B / ℏ (rad s⁻¹ T⁻¹) — positive by convention |
|
|
Nuclear magneton / ℏ (rad s⁻¹ T⁻¹) — base for nuclear gyromagnetic ratios |
|
|
Degree — radians per degree (exact: π/180) |
|
|
Barn — nuclear quadrupole moment unit (m²) — exact: 1 b = 10^-28 m² |
|
|
Molar gas constant R = N_A × k_B (J mol⁻¹ K⁻¹) — exact |
- torchspin.GFREE: float = 2.00231930436092#
Free-electron g-factor (dimensionless, positive convention)
- torchspin.ECHARGE: float = 1.602176634e-19#
Elementary charge (C) — exact by SI definition since 2019
- torchspin.MU0: float = 1.25663706127e-06#
Vacuum permeability μ₀ (H m⁻¹) — CODATA 2022 (no longer exact)
- torchspin.AVOGADRO: float = 6.02214076e+23#
Avogadro’s number (mol⁻¹) — exact by SI definition since 2019
- torchspin.GAMMAE: float = 176085962782.85223#
Electron gyromagnetic ratio γ_e = g_e × μ_B / ℏ (rad s⁻¹ T⁻¹) — positive by convention
- torchspin.GAMMAN: float = 47894165.71527141#
Nuclear magneton / ℏ (rad s⁻¹ T⁻¹) — base for nuclear gyromagnetic ratios