scippneutron.conversion.tof.energy_transfer_direct_from_tof#

scippneutron.conversion.tof.energy_transfer_direct_from_tof(*, tof, L1, L2, incident_energy)#

Compute the energy transfer in direct inelastic scattering.

The result is

\[\Delta E = E_i - \frac{m_n L_2^2}{2 {(t - t_0)}^2}\]

With

\[t_0 = \sqrt{m_n L_1^2 / (2 E_i)}\]

and \(m_n\) the neutron mass.

The result is NaN for unphysical points, that is, where \(t < t_0\).

Parameters:
  • tof (Variable) – Time-of-flight \(t\).

  • L1 (Variable) – Primary beam length.

  • L2 (Variable) – Secondary beam length.

  • incident_energy (Variable) – Energy before scattering \(E_i\).

Returns:

Variable – Energy transfer \(\Delta E\). Has the same unit as incident_energy.

See also

scippneutron.conversions.tof.energy_transfer_indirect_from_tof