scipp.spatial.as_vectors#
- scipp.spatial.as_vectors(x, y, z)#
Return inputs combined into vectors.
Inputs may be broadcast to a common shape,.
- Parameters:
- Returns:
Variable
– Zip of input x, y and z with dtypevector3
. The output unit is the same as input unit.- Raises:
scipp.DTypeError – If the dtypes of inputs are not
float64
.
See also
scipp.vector
Construct a vector from plain numbers.
scipp.vectors
Construct vectors from plain numpy arrays or lists.