scippneutron.tof.unwrap.frame_at_detector#

scippneutron.tof.unwrap.frame_at_detector(source_wavelength_range, source_time_range, choppers, ltotal)#

Return the frame at the detector.

This is the result of propagating the source pulse through the chopper cascade to the detector. The detector may be a monitor or a detector after scattering off the sample. The frame bounds are then computed from this.

It is assumed that the opening and closing times of the input choppers have been setup correctly. This includes a correct definition of the offsets in pulse-skipping mode, i.e., the caller must know which pulses are in use.

Return type:

tof.unwrap.FrameAtDetector (scippneutron.tof.chopper_cascade.Frame)