- tensorstore.IndexTransform.translate_to[self, origins: Sequence[int | None] | int | None] IndexTransform
Returns a new view with
origin
translated to the specified origin.This is equivalent to
self[ts.d[:].translate_to[origins]]
.- Parameters:¶
- Raises:¶
IndexError – If the number origins does not match the number of dimensions.
IndexError – If any of the selected dimensions has a lower bound of
-inf
.