ess.reduce.time_of_flight.eto_to_tof.monitor_ltotal_from_straight_line_approximation#

ess.reduce.time_of_flight.eto_to_tof.monitor_ltotal_from_straight_line_approximation(monitor_beamline)[source]#

Compute Ltotal for the monitor. This is a naive straight-line approximation to Ltotal based on basic component positions.

Parameters:

monitor_beamline (CalibratedMonitor[TypeVar(RunType), TypeVar(MonitorType)]) – Beamline data for the monitor that contains the positions necessary to compute the straight-line approximation to Ltotal (source and monitor positions).

Return type:

MonitorLtotal[TypeVar(RunType), TypeVar(MonitorType)]