scippneutron.conversion.tof.Q_from_wavelength#
- scippneutron.conversion.tof.Q_from_wavelength(*, wavelength, two_theta)[source]#
Compute the absolute value of the momentum transfer from wavelength.
The result is
\[Q = \frac{4 \pi \sin \theta}{\lambda}\]- Parameters:
- Returns:
Variable
– Momentum transfer \(Q\).
See also
scippneutron.conversions.beamline
Definition of
two_theta
.