scippneutron.conversion.tof.energy_from_wavelength#
- scippneutron.conversion.tof.energy_from_wavelength(*, wavelength)#
Compute the neutron energy from wavelength.
The result is
\[E = \frac{h^2}{2 m_n \lambda^2}\]Where \(m_n\) is the neutron mass and \(h\) the Planck constant.