decompose_affine_transform#
- abtem.atoms.decompose_affine_transform(affine_transform)[source]#
Decompose an affine transform into rotation, scale and shear.
- Parameters:
affine_transform (np.ndarray) – Matrix representation of an affine transformation of dimension 3x3.
- Returns:
decomposition – Decomposition of the affine transformation into a tuple of length 3 whose items are arrays of dimension 3 representing rotation, scale and shear.
- Return type:
{(3,), (3,), (3,)} tuple