tensorstore.Unit(multiplier: float = 1)

Constructs a dimension-less quantity of the specified value.

This is equivalent to specifying a base_unit of "".

Example

>>> ts.Unit(3.5)
Unit(3.5, "")
>>> ts.Unit()
Unit(1, "")