scippneutron.conversion.tof.Q_from_wavelength#

scippneutron.conversion.tof.Q_from_wavelength(*, wavelength, two_theta)#

Compute the absolute value of the momentum transfer from wavelength.

The result is

\[Q = \frac{4 \pi \sin \theta}{\lambda}\]
Parameters:
  • wavelength (Variable) – De Broglie wavelength \(\lambda\).

  • two_theta (Variable) – Scattering angle \(2 \theta\).

Returns:

Variable – Momentum transfer \(Q\).

See also

scippneutron.conversions.beamline

Definition of two_theta.