scippneutron.conversion.tof.time_of_arrival#

scippneutron.conversion.tof.time_of_arrival(*, event_time_zero, event_time_offset)[source]#

Compute the absolute time of arrival at the detector from the coordinates recorded in NeXus files event_time_zero and event_time_offset.

The result is

\[t_{\mathsf{arrival}} = t_{\mathsf{zero}} + t_{\mathsf{offset}}\]

where \(t_{0}\) is the time-zero of the event and \(t_{\mathsf{offset}}\) is the time offset of the event.

Parameters:
  • event_time_zero (Variable) – Time-zero of the event.

  • event_time_offset (Variable) – Time offset of the event.

Returns:

Absolute time of arrival at the detector.