scippneutron.conversion.tof.tof_from_wavelength#

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

Compute the time-of-flight from the wavelength.

The result is the time taken by a neutron to travel a distance \(L_\mathsf{total}\) with a de Broglie wavelength \(\lambda\):

\[t = \frac{m_n L_\mathsf{total} \lambda}{h}\]

Where \(m_n\) is the neutron mass and \(h\) the Planck constant.

Returns:

Variable – Time-of-flight \(t\). Has unit microsecond.