exa.util.conversions module¶
Common conversion factors¶
Conversion factors from the tabulated physical constants from `NIST`_. All of the entries that end with relationship are taken to be the conversion units provided by `NIST`_ and they are listed by a hardcoded acronym value.
-
class
exa.util.conversions.
Conversion
(name, units, value, error)[source]¶ Bases:
float
Conversion factors taken from the NIST constants table. Only those that end with relationship are taken to be the conversion factors.
Acronyms are as follows:
‘u’: Unified atomic mass unit (Dalton)
‘amu’: Atomic unit of mass
‘eV’: Electron volt
‘J’: Joule
‘Ha’: Hartree
‘inv_m’: Inverse meter
‘K’: Kelvin
‘Kg’: Kilogram
‘Hz’: Hertz