- class tensorstore_demo.DimensionSelection(DimExpression)[source]
This extends
DimExpression
.Public members¶
Operations¶
- __getitem__(indices: Any) -> DimExpression[source]
Applies a NumPy-style indexing operation with default index array semantics.
- property diagonal: DimExpression
Extracts the diagonal of the selected dimensions.
- label(labels: str | collections.abc.Sequence[str]) -> DimExpression
Sets (or changes) the labels of the selected dimensions.
- translate_to(origins) -> DimExpression
Translates the domains of the selected input dimensions to the specified origins without affecting the output range.
- vindex(indices: Any) -> DimExpression
Applies a NumPy-style indexing operation with vectorized indexing semantics.
Last update:
Nov 16, 2024