Units Module
For complete API documentation of the units module, see api.
Quick Reference¶
Unit- Unit field annotationHasUnits- Base mixin for unit-aware componentsHasPerUnit- Extended mixin with system-base supportUnitSystem- Display mode enumerationset_unit_system()- Set global display modeget_unit_system()- Get current display mode
See also
working with units for a step-by-step introduction
convert units for practical recipes
unit system for design rationale