tensorstore.Dim.hull(self, other: Dim) Dim

Hull with another Dim.

The implicit flag that corresponds to the selected bound is propagated. The label field, if non-empty, must match, and will be propagated.

Parameters:
other: Dim

Object to hull with.

Example

>>> a = ts.Dim(inclusive_min=1, exclusive_max=5, label='x')
>>> a.hull(ts.Dim(size=3))
Dim(inclusive_min=0, exclusive_max=5, label="x")