ess.reduce.time_of_flight.eto_to_tof#

Time-of-flight workflow for unwrapping the time of arrival of the neutron at the detector. This workflow is used to convert raw detector data with event_time_zero and event_time_offset coordinates to data with a time-of-flight coordinate.

Functions

detector_ltotal_from_straight_line_approximation(...)

Compute Ltotal for the detector pixels.

detector_time_of_arrival_data(detector_data, ...)

Convert the time-of-flight data to time-of-arrival data using a lookup table.

detector_time_of_flight_data(detector_data, ...)

Convert the time-of-arrival (event_time_offset) data to time-of-flight data using a lookup table.

detector_wavelength_data(detector_data)

Convert time-of-flight coordinate of the detector data to wavelength.

mask_large_uncertainty_in_lut(table, ...)

Mask regions in the time-of-flight lookup table with large uncertainty using NaNs.

monitor_ltotal_from_straight_line_approximation(...)

Compute Ltotal for the monitor.

monitor_time_of_flight_data(monitor_data, ...)

Convert the time-of-arrival (event_time_offset) data to time-of-flight data using a lookup table.

monitor_wavelength_data(monitor_data)

Convert time-of-flight coordinate of the monitor data to wavelength.

providers()

Providers of the time-of-flight workflow.

Classes

TofInterpolator(lookup, distance_unit, time_unit)