scippneutron.conversion.tof.wavelength_from_energy#

scippneutron.conversion.tof.wavelength_from_energy(*, energy)#

Compute the wavelength from the neutron energy.

The result is the de Broglie wavelength

\[\lambda = \frac{h}{\sqrt{2 m_n E}}\]

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

Parameters:

energy (Variable) – Neutron energy \(E\).

Returns:

Variable – Wavelength \(\lambda\). Has unit ångström.