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):
expand_conversions(self, unit_stuff_1):
find_conversion(self, unit, target):
Attempts to find a conversion between two sets of units. Currently only implemented for “plain” units.
unit:Anytarget:Any:returns:_
add_conversion(self, unit, target, value):
convert(self, unit, target):
Converts base unit into target using the scraped NIST data
unit:Anytarget:Any:returns:_
@property
constants(self):
constant(self, const):
Converts base unit into target using the scraped NIST data
unit:Anytarget:Any:returns:_
@property
hartrees_to_wavenumbers(self):
@property
bohr_to_angstroms(self):
@property
amu_to_me(self):
@property
moles(self):