scipp.spatial.affine_transforms# scipp.spatial.affine_transforms(*, dims, unit=Unit(1), values)# Initializes affine transformations from the provided affine matrix coefficients. Parameters: dims (Sequence[str]) – The dimensions of the variable. unit (Union[Unit, str], default: Unit(1)) – The unit of the affine transformation’s translation component. values (Union[ndarray, list]) – An array of 4x4 matrices of affine coefficients. Returns: An array variable of dtype affine_transform3.