Units: CODATA
CODATA values for various physical constants from qcelemental.
-
tad_mctc.units.codata.CODATA = <tad_mctc.units.codata._CodataContext object>
CODATA 2018 values from qcelemental 0.29.1.
-
tad_mctc.units.codata.get_constant(name)[source]
Get a constant from the CODATA 2018 context.
- Parameters:
name (str) – Name of the constant.
- Returns:
Value of the constant.
- Return type:
float
- Raises:
KeyError – If the constant is not found.