UnitsDataHandler
A DataHandler that’s built for use with the units data we’ve collected.
Usually used through the UnitsData
object.
prefix_map: OrderedDict
postfix_map: OrderedDict
Wavenumbers: str
Hartrees: str
Angstroms: str
BohrRadius: str
ElectronMass: str
AtomicMassUnits: str
__init__(self):
load(self):
find_conversion(self, unit, target):
Attempts to find a conversion between two sets of units. Currently only implemented for “plain” units.
unit
:Any
target
:Any
:returns
:_
add_conversion(self, unit, target, value):
convert(self, unit, target):
Converts base unit into target using the scraped NIST data
unit
:Any
target
:Any
:returns
:_
@property
hartrees_to_wavenumbers(self):
@property
bohr_to_angstroms(self):
@property
amu_to_me(self):