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
,nexus.types.BackgroundRun
(int
),nexus.types.EmptyBeamRun
(int
),nexus.types.SampleRun
(int
),TransmissionRun
[nexus.types.SampleRun
(int
)],TransmissionRun
[nexus.types.BackgroundRun
(int
)],nexus.types.VanadiumRun
(int
)),TypeVar
(MonitorType
,nexus.types.Monitor1
(int
),nexus.types.Monitor2
(int
),nexus.types.Monitor3
(int
),nexus.types.Monitor4
(int
),nexus.types.Monitor5
(int
),nexus.types.Monitor6
(int
),nexus.types.IncidentMonitor
(int
),nexus.types.TransmissionMonitor
(int
),nexus.types.FrameMonitor
(int
),nexus.types.FrameMonitor
(int
),nexus.types.FrameMonitor
(int
),nexus.types.FrameMonitor
(int
),nexus.types.CaveMonitor
(int
))]) – 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
,nexus.types.BackgroundRun
(int
),nexus.types.EmptyBeamRun
(int
),nexus.types.SampleRun
(int
),TransmissionRun
[nexus.types.SampleRun
(int
)],TransmissionRun
[nexus.types.BackgroundRun
(int
)],nexus.types.VanadiumRun
(int
)),TypeVar
(MonitorType
,nexus.types.Monitor1
(int
),nexus.types.Monitor2
(int
),nexus.types.Monitor3
(int
),nexus.types.Monitor4
(int
),nexus.types.Monitor5
(int
),nexus.types.Monitor6
(int
),nexus.types.IncidentMonitor
(int
),nexus.types.TransmissionMonitor
(int
),nexus.types.FrameMonitor
(int
),nexus.types.FrameMonitor
(int
),nexus.types.FrameMonitor
(int
),nexus.types.FrameMonitor
(int
),nexus.types.CaveMonitor
(int
))]