wholecell.utils.units

Units: Extends the Unum units package.

TODO: Unum is a defunct project. Its source repo is no longer online. Either switch to a newer package like Pint or copy and improve the Unum source code from its Python package.

wholecell.utils.units.abs(array)[source]
wholecell.utils.units.divide(a, b)[source]
wholecell.utils.units.dot(a, b, out=None)[source]
wholecell.utils.units.floor(x)[source]
wholecell.utils.units.getUnit(value)[source]
wholecell.utils.units.hasUnit(value)[source]
Return type:

TypeGuard[Unum]

wholecell.utils.units.hstack(tup)[source]
wholecell.utils.units.isfinite(value)[source]
wholecell.utils.units.isnan(value)[source]
wholecell.utils.units.matmul(a, b, out=None)[source]
wholecell.utils.units.multiply(a, b)[source]
wholecell.utils.units.strip_empty_units(value)[source]
wholecell.utils.units.sum(array, axis=None, dtype=None, out=None, keepdims=False)[source]
wholecell.utils.units.transpose(array, axis=None)[source]