ess.reduce.unwrap.lut.make_wavelength_lut_from_polygons#
- ess.reduce.unwrap.lut.make_wavelength_lut_from_polygons(ltotal_range, distance_resolution, time_resolution, pulse_period, pulse_stride, frames)[source]#
Compute a lookup table for wavelength as a function of distance and time-of-arrival.
- Parameters:
ltotal_range (
LtotalRange[TypeVar(RunType),TypeVar(Component)]) – Range of total flight path lengths from the source to the detector.distance_resolution (
unwrap.lut.DistanceResolution(scipp.Variable)) – Resolution of the distance axis in the lookup table.time_resolution (
unwrap.lut.TimeResolution(scipp.Variable)) – Resolution of the time-of-arrival axis in the lookup table. Must be an integer.pulse_period (
unwrap.lut.PulsePeriod(scipp.Variable)) – Period of the source pulses, i.e., time between consecutive pulse starts.pulse_stride (
PulseStride[TypeVar(RunType)]) – Stride of used pulses. Usually 1, but may be a small integer when pulse-skipping.frames (
ChopperFrameSequence[TypeVar(RunType)]) – Chopper frame sequence used to compute the wavelength as a function of distance and event_time_offset in the lookup table.
- Return type:
LookupTable[TypeVar(RunType),TypeVar(Component)]