scippneutron.conversion.tof.wavelength_from_tof#

scippneutron.conversion.tof.wavelength_from_tof(*, tof, Ltotal)[source]#

Compute the wavelength from time-of-flight.

The result is the de Broglie wavelength

λ=htmnLtotal

Where mn is the neutron mass and h the Planck constant.

Parameters:
Returns:

Variable – Wavelength λ. Has unit ångström.