Skip to main content

tof_to_energy

Function tof_to_energy 

Source
pub fn tof_to_energy(tof_us: f64, flight_path_m: f64) -> f64
Expand description

Convert neutron time-of-flight (μs) and flight path (m) to energy (eV).

E = ½·m_n·(L/t)²