UnitsDict¶
The units_dict
module defines UnitsDict
, which implements a mapping for unit names, and unit symbols, to unit objects.
-
class
UnitsDict
(*args, **kwargs)¶ A dictionary-like mapping of names, and short names (symbols), to objects representing units.
The names and short names are keys. They are unique and cannot be overwritten once defined (but, they can be deleted).