scippneutron.conversion.tof.hkl_elements_from_hkl_vec#
- scippneutron.conversion.tof.hkl_elements_from_hkl_vec(*, hkl_vec)[source]#
Unpack vector of hkl indices into separate variables.
- Parameters:
hkl_vec (
Variable
) – Vector of hkl indices.- Returns:
h (
scipp.Variable
) – 1st component of the hkl vector.k (
scipp.Variable
) – 2nd component of the hkl vector.l (
scipp.Variable
) – 3rd component of the hkl vector.