scipp.spatial.affine_transforms#

scipp.spatial.affine_transforms(*, dims, unit=dimensionless, values)#

Initializes affine transformations from the provided affine matrix coefficients.

Parameters
  • unit (Union[Unit, str], default: dimensionless) – The unit of the affine transformation’s translation component.

  • value – An array of 4x4 matrices of affine coefficients.