scippneutron.tof.unwrap.chopper_cascade_frames#
- scippneutron.tof.unwrap.chopper_cascade_frames(source_wavelength_range, source_time_range, choppers, pulse_stride, pulse_period)[source]#
Return the frames of the chopper cascade. This is the result of propagating the source pulse through the chopper cascade.
In the case of pulse-skipping, the frames are computed for each pulse in the stride, to make sure that we include cases where e.g. the first pulse in the stride is skipped, but the second is not.
- Parameters:
source_wavelength_range (
tof.unwrap.SourceWavelengthRange
(tuple
)) – Wavelength range of the source pulse.source_time_range (
tof.unwrap.SourceTimeRange
(tuple
)) – Time range of the source pulse.choppers (
tof.unwrap.Choppers
(collections.abc.Mapping
)) – Choppers used to define the frame parameters.pulse_stride (
tof.unwrap.PulseStride
(int
)) – Stride of used pulses. Usually 1, but may be a small integer when pulse-skipping.pulse_period (
tof.unwrap.PulsePeriod
(scipp.Variable
)) – Period of the source pulses, i.e., time between consecutive pulse starts.
- Return type: