units¶
Manage units and units conversions.
Used for model and data unit conversions.
UnitsInformation
¶
Bases: MutableMapping
Storage of units information.
Used for models or datasets.
Initialize UnitsInformation.
Behaves like a dict which allows to lookup units by id.
Units
¶
Units class.
Container for unit related functionality. Allows to read the unit information from SBML models and provides helpers for the unit conversion.
udef_to_str
classmethod
¶
Format SBML unitDefinition as string.
Units have the general format (multiplier * 10^scale *ukind)^exponent (m * 10^s *k)^e
Returns the string "None" in case no UnitDefinition was provided.