ess.spectroscopy.indirect.time_of_flight.detector_wavelength_data#

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

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

The output data will have a wavelength coordinate.

This is a wrapper around ess.reduce.unwrap.detector_wavelength_data() for indirect geometry spectrometers.

Return type:

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