scippneutron.conversion.tof.wavelength_from_Q#

scippneutron.conversion.tof.wavelength_from_Q(*, Q, two_theta)[source]#

Compute the wavelength from momentum transfer.

The result is the de Broglie wavelength

λ=4πsinθQ
Parameters:
  • Q (Variable) – Momentum transfer.

  • two_theta (Variable) – Scattering angle 2θ.

Returns:

Variable – Wavelength λ Has unit ångström.

See also

scippneutron.conversions.beamline

Definition of two_theta.