scipp.spatial.linear_transform#

scipp.spatial.linear_transform(*, unit=Unit(1), value)#

Constructs a zero dimensional Variable holding a single 3x3 matrix.

Parameters:
  • value (ndarray[Any, dtype[TypeVar(_Float, bound= float64 | float32, covariant=True)]] | Sequence[TypeVar(_Float, bound= float64 | float32, covariant=True)]) – Initial value, a list of lists or 2-D NumPy array.

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

Returns:

Variable – A scalar variable of dtype linear_transform3.