scipp.spatial.linear_transform#

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

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

Parameters
  • value (Union[ndarray, list]) – Initial value, a list of lists or 2-D NumPy array.

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

Returns

A scalar variable of dtype linear_transform3.