scipp.spatial.scaling_from_vector#

scipp.spatial.scaling_from_vector(*, value)#

Creates a scaling transformation from a provided 3-vector.

Parameters

value (Union[ndarray, list]) – a list or numpy array of 3 values, corresponding to scaling coefficients in the x, y and z directions respectively.