scippneutron.conversion.tof.energy_from_tof#
- scippneutron.conversion.tof.energy_from_tof(*, tof, Ltotal)#
Compute the neutron energy from time-of-flight.
The result is
\[E = \frac{m_n L_\mathsf{total}^2}{2 t^2}\]Where \(m_n\) is the neutron mass.