scippneutron.tof.unwrap.frame_at_detector#
- scippneutron.tof.unwrap.frame_at_detector(frames, ltotal, period)[source]#
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.
- Parameters:
frames (
tof.unwrap.ChopperCascadeFrames
(list
)) – Frames of the chopper cascade.ltotal (
tof.unwrap.Ltotal
(scipp.Variable
)) – Total distance between the source and the detector(s).period (
tof.unwrap.FramePeriod
(scipp.Variable
)) – Period of the frame, i.e., time between the start of two consecutive frames.
- Return type:
tof.unwrap.FrameAtDetector
(scippneutron.tof.chopper_cascade.Frame
)