class tensorstore_demo.DimensionSelection(DimExpression)[source]

This extends DimExpression.

Public members

foo(bar: int) None[source]

Non-inherited method.

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: Apr 16, 2024