ess.reduce.time_of_flight.eto_to_tof.detector_ltotal_from_straight_line_approximation#
- ess.reduce.time_of_flight.eto_to_tof.detector_ltotal_from_straight_line_approximation(detector_beamline)[source]#
Compute Ltotal for the detector pixels. This is a naive straight-line approximation to Ltotal based on basic component positions.
- Parameters:
detector_beamline (
CalibratedBeamline
[TypeVar
(RunType
)]) – Beamline data for the detector that contains the positions necessary to compute the straight-line approximation to Ltotal (source, sample, and detector positions).- Return type:
DetectorLtotal
[TypeVar
(RunType
)]