scippneutron.conversion.tof.Q_vec_from_Q_elements#

scippneutron.conversion.tof.Q_vec_from_Q_elements(*, Qx, Qy, Qz)[source]#

Combine elements of Q into a single vector variable.

Parameters:
  • Qx (Variable) – x-elements of the momentum transfer.

  • Qy (Variable) – y-elements of the momentum transfer.

  • Qz (Variable) – z-elements of the momentum transfer.

Returns:

VariableQx, Qy, Qz combined into a single variable of dtype vector3.