tensorstore.Unit(multiplier: float, base_unit: str)

Constructs a unit from a multiplier and base unit.

Example

>>> ts.Unit(3.5, 'nm')
Unit(3.5, "nm")