calamari.constants#

Physical constants and unit-conversion factors used across calamari.

All values are CODATA 2018 where applicable, each with a comment giving its provenance. Magnetometry in this library follows the CGS-Gaussian conventions native to Quantum Design instruments (moments in emu, fields in Oe); conversions to SI or to “physics” units (Bohr magnetons, Tesla) go through the factors defined here and nowhere else.

Module attributes

OE_PER_TESLA

Oe per Tesla (exact; 1 T = 1e4 Oe in CGS-Gaussian field units).

MU_B_EMU

Bohr magneton in erg/G, which is numerically the magneton expressed in emu (CODATA 2018: mu_B = 9.274 010 0783 e-21 erg/G).

K_B_ERG_PER_K

Boltzmann constant in erg/K (exact since the 2019 SI redefinition: k_B = 1.380 649 e-16 erg/K).

AVOGADRO

Avogadro constant in 1/mol (exact since the 2019 SI redefinition).

MU_B_PER_EMU

emu -> Bohr magneton conversion factor (reciprocal of MU_B_EMU).

EMU_PER_A_M2

emu per A m^2 (exact; 1 emu = 1e-3 A m^2 for a magnetic moment, so 1 A m^2 = 1e3 emu).

EMU_PER_OE_PER_A_M2_PER_TESLA

(emu/Oe) per (A m^2 / T).