tiledbsoma.AffineTransform¶
- class tiledbsoma.AffineTransform(input_axes: str | Sequence[str], output_axes: str | Sequence[str], matrix: _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes])¶
An affine coordinate trasformation from one coordinate space to another.
An affine transform is a combination of a linear transformation and a translation.
- 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.
matrix – Matrix (perhaps augmented) that represents the affine transformation. Can be provided as just the linear transform (if no translation), the full augmented matrix, or the augmented matrix without the final row.
Lifecycle: experimental
- __init__(input_axes: str | Sequence[str], output_axes: str | Sequence[str], matrix: _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, matrix)Attributes
Returns the augmented affine matrix for the transformation.
The names of the axes of the input coordinate space.
Returns the inverse coordinate transform.
mro
()Return a type's method resolution order.
The names of the axes of the output coordinate space.
register
(subclass)Register a virtual subclass of an ABC.