nitrogen.constants¶
Physical constants and reference data.
NITROGEN generally uses an Å/u/cm-1 unit system, defined as follows
Dimension |
Unit |
|---|---|
[length] |
\(\text{Å}\) |
[mass] |
\(\text{u}\) |
[energy] |
\(hc\times\text{cm}^{-1}\) |
[temperature] |
\(K\) |
[electric charge] |
\(e\) |
All constants in the nitrogen.constants module
are reported in these units, which are convenient for
nuclear motion calculations. As of CODATA 2018, the units of length
and energy have exact relationships to their SI counterparts.
The unit of mass (u, unified atomic mass unit, i.e. one-twelth the
mass of a carbon atom), however, does not have an exact SI value.
The atomic unit of mass (the electron mass) has a similar status.
Physical constants |
|
|---|---|
|
Boltzmann constant \(k_B\) |
|
Planck constant \(h\) |
|
reduced Planck constant \(\hbar = h/(2\pi)\) |
|
Bohr radius \(a_0\) |
|
speed of light |
|
electron mass |
|
Avogadro constant \(N_A\) |
|
electron-to-proton mass ratio, \(m_e/m_p\) |
|
proton mass, \(m_p\) |
Unit conversions |
|
|---|---|
|
joule, J |
|
kilojoule per mole, kJ/mol |
|
kilocalorie per mole, kcal/mol |
|
electron-volt, eV |
|
hartree, \(E_h\) |
|
energy equivalent of hertz, \(h \times \text{Hz}\) |
|
second, s |
|
atomic unit of time, \(\hbar/E_h\) |
|
debye, D |
Look-up methods |
|
|---|---|
Look up value by name. |
|
Look up uncertainty by name. |
|
Look up atomic mass by element symbol. |
|
Version information |
|
|---|---|
Version string for constants data. |
|
Version string for atomic mass data. |
|
- nitrogen.constants.charge(label)¶
Retrieve the nuclear charge (atomic number).
- Parameters
label (str or list of str) – Atomic label(s).
- Returns
The nuclear charge.
- Return type
int or list of int
Notes
Literal values can be passed as label. They will be returned as is.
- nitrogen.constants.constant_unc(name)¶
Retrieve a physical constant’s uncertainty. The uncertainty value does not reflect errors from finite precision numerical arithmetic.
- Parameters
name (str) – The name of the constant
- Returns
The uncertainty
- Return type
float
- nitrogen.constants.constant_val(name)¶
Retrieve a physical constant’s value
- Parameters
name (str) – The name of the constant
- Returns
The value
- Return type
float
- nitrogen.constants.constants_version()¶
Version information for physical constants data
- nitrogen.constants.mass(label)¶
Retrieve atomic mass data.
- Parameters
label (str or list of str) – Atomic label(s).
- Returns
The atomic mass in u.
- Return type
float or list of float
Notes
Literal float values can be passed as label. They will be returned as is.
- nitrogen.constants.mass_version()¶
Version information for atomic mass data