scipp.constants#
Physical and mathematical constants with units.
This module a wrapper around scipy.constants
and requires the scipy
package to be installed.
Mathematical constants:
|
Pi |
|
Golden ratio |
|
Golden ratio |
Physical constants:
|
speed of light in vacuum |
|
speed of light in vacuum |
|
the magnetic constant \(\mu_0\) |
|
the electric constant (vacuum permittivity), \(\epsilon_0\) |
|
the Planck constant \(h\) |
|
the Planck constant \(h\) |
|
\(\hbar = h/(2\pi)\) |
|
Newtonian constant of gravitation |
|
Newtonian constant of gravitation |
|
standard acceleration of gravity |
|
elementary charge |
|
elementary charge |
|
molar gas constant |
|
molar gas constant |
|
fine-structure constant |
|
fine-structure constant |
|
Avogadro constant |
|
Avogadro constant |
|
Boltzmann constant |
|
Boltzmann constant |
|
Stefan-Boltzmann constant \(\sigma\) |
|
Stefan-Boltzmann constant \(\sigma\) |
|
Wien displacement law constant |
|
Rydberg constant |
|
electron mass |
|
electron mass |
|
proton mass |
|
proton mass |
|
neutron mass |
|
neutron mass |
In addition to the above variables, scipp.constants
also contains the
2018 CODATA recommended values [CODATA2018] database containing more physical
constants.
The database is accessed using scipp.constants.physical_constants()
.
CODATA Recommended Values of the Fundamental Physical Constants 2018. https://physics.nist.gov/cuu/Constants/
Functions
|
Returns the CODATA recommended value with unit of the requested physical constant. |