User Guide
Toolboxes
Visualization
sisl.viz
Reference documentation
The group of units that unit belong to
unit (str) – unit, e.g. kg, Ang, eV etc. returns the type of unit it is.
tbl (dict, optional) – dictionary of units (default to the global table)
Examples
>>> unit_group('kg') 'mass' >>> unit_group('eV') 'energy'