units_manager
File Purpose: handle unit conversions
Functions
|
Extract the unit symbol and the exponent from the unit string :param unit_string: string of units (e.g. "m-1") :return: unit symbol, exponent (e.g. "m", -1). |
|
convert string of any units to string of SI base units. |
Classes
|
Manages units, including conversion factors and physical constants in different unit systems. |
manages string of units; keys are unit symbol bases, values are exponents. |