- tensorstore.TensorStore.dimension_units : tuple[Unit | None, ...]
Physical units of each dimension of the domain.
The physical unit for a dimension is the physical quantity corresponding to a single index increment along each dimension.
A value of
None
indicates that the unit is unknown. A dimension-less quantity is indicated by a unit ofts.Unit(1, "")
.Example
>>> store = await ts.open( ... { ... 'driver': 'n5', ... 'kvstore': { ... 'driver': 'memory' ... } ... }, ... create=True, ... shape=[100, 200], ... dtype=ts.uint32, ... dimension_units=['5nm', '8nm']) >>> store.dimension_units (Unit(5, "nm"), Unit(8, "nm"))