scipp.spatial.linear_transforms#

scipp.spatial.linear_transforms(*, dims, unit=Unit(1), values)#

Constructs a Variable with given dimensions holding an array of 3x3 matrices.

Parameters:
  • dims (Sequence[str]) – Dimension labels.

  • values (ndarray | list) – Initial values.

  • unit (Unit | str, default: Unit(1)) – Optional, data unit. Default=dimensionless

Returns:

An array variable of dtype linear_transform3.