tensorstore.Unit(unit: tuple[float, str])

Constructs a unit from a multiplier and base unit pair.

Example

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