ess.spectroscopy.indirect.time_of_flight.detector_time_of_flight_data#

ess.spectroscopy.indirect.time_of_flight.detector_time_of_flight_data(sample_data, lookup, pulse_stride_offset)[source]#

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

The output data will have a time-of-flight coordinate.

This is a wrapper around ess.reduce.time_of_flight.detector_time_of_flight_data() for indirect geometry spectrometers.

Return type:

DetectorTofData[TypeVar(RunType, ess.reduce.nexus.types.SampleRun (int), ess.reduce.nexus.types.VanadiumRun (int))]