ess.spectroscopy.indirect.time_of_flight.monitor_wavelength_data#

ess.spectroscopy.indirect.time_of_flight.monitor_wavelength_data(monitor_data, lookup, ltotal, 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.monitor_wavelength_data() for indirect geometry spectrometers.

Return type:

WavelengthMonitor[TypeVar(RunType, ess.reduce.nexus.types.SampleRun (int), ess.reduce.nexus.types.VanadiumRun (int)), TypeVar(MonitorType, ess.reduce.nexus.types.FrameMonitor0 (int), ess.reduce.nexus.types.FrameMonitor1 (int), ess.reduce.nexus.types.FrameMonitor2 (int), ess.reduce.nexus.types.FrameMonitor3 (int))]