Constants (erlab.constants)¶
Physical constants and unit conversion.
Module Attributes
Elementary charge \(e\) (C) |
|
Speed of light \(c\) (m/s) |
|
Electron mass \(m_e\) (kg) (±0.000 000 0028e-31) |
|
Electron rest energy \(m_e c^2\) (J) (±0.000 000 0025e-14) |
|
Electron rest energy \(m_e c^2\) (eV) (±0.000 15) |
|
Planck constant \(h\) (J·s) |
|
\(hc\) (J·m) |
|
Dirac constant \(\hbar\) (J·s) |
|
\(\hbar c\) (J·m) |
|
\(\hbar^2\) (J²·s²) |
|
Planck constant \(h\) (eV·s) |
|
\(hc\) (eV·m) |
|
Dirac constant \(\hbar\) (eV·s) |
|
\(\hbar^2\) (eV²·s²) |
|
\(hc\) (eV·nm), Used in energy-wavelength conversion |
|
\(\frac{\sqrt{2 m_e}}{\hbar}\), Used in momentum conversion |
|
\(\frac{\hbar^2}{2 m_e}\), Used in momentum conversion |
|
Boltzmann constant \(k_B\) (J/K) |
|
Boltzmann constant \(k_B\) (eV/K) |
Functions
|
Convert between energy and wavelength. |
|
Convert Watts to photons per second. |
- erlab.constants.TINY: float = 1e-15¶
From
lmfit.lineshapes, equal tonumpy.finfo(numpy.float64).resolution
- erlab.constants.mcsq: float = 8.1871057769e-14¶
Electron rest energy \(m_e c^2\) (J) (±0.000 000 0025e-14)
- erlab.constants.rel_eV_nm: float = 1239.8419843320028¶
\(hc\) (eV·nm), Used in energy-wavelength conversion
- erlab.constants.rel_kconv: float = 0.512316721967493¶
\(\frac{\sqrt{2 m_e}}{\hbar}\), Used in momentum conversion
- erlab.constants.rel_kzconv: float = 3.8099821161548606¶
\(\frac{\hbar^2}{2 m_e}\), Used in momentum conversion
- class erlab.constants.AxesConfiguration(*values)[source]¶
Bases:
IntEnumEnum class for different types of axes configurations in an ARPES experiment.
See Nomenclature and Ref. [Ishida and Shin, 2018] for more information.
- Type1 = 1¶
- Type2 = 2¶
- Type1DA = 3¶
- Type2DA = 4¶