tiledbsoma.ScaleTransform

class tiledbsoma.ScaleTransform(input_axes: str | Sequence[str], output_axes: str | Sequence[str], scale_factors: _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes])

A scale coordinate transformation from one coordinate space to another.

Parameters:
  • input_axes – The names of the axes for the input coordinate space.

  • output_axes – The names of the axes for the output coordinate space.

  • scale_factors – The scale factors for the transformation. There must be one value per axis.

Lifecycle: experimental

__init__(input_axes: str | Sequence[str], output_axes: str | Sequence[str], scale_factors: _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes])

Methods

__init__(input_axes, output_axes, scale_factors)

Attributes

augmented_matrix

Returns the augmented affine matrix for the transformation.

input_axes

The names of the axes of the input coordinate space.

inverse_transform()

Returns the inverse coordinate transform.

mro()

Return a type's method resolution order.

output_axes

The names of the axes of the output coordinate space.

register(subclass)

Register a virtual subclass of an ABC.

scale_factors

Returns the scale factors as an one-dimensional numpy array.