ess.spectroscopy.indirect.time_of_flight.compute_monitor_ltotal#

ess.spectroscopy.indirect.time_of_flight.compute_monitor_ltotal(monitor_data, coord_transform_graph)[source]#

Compute the path length from the source to the monitor.

Return type:

MonitorLtotal[TypeVar(RunType, ess.reduce.nexus.types.SampleRun (int), ess.reduce.nexus.types.VanadiumRun (int)), TypeVar(MonitorType, ess.reduce.nexus.types.FrameMonitor (int), ess.reduce.nexus.types.FrameMonitor (int), ess.reduce.nexus.types.FrameMonitor (int), ess.reduce.nexus.types.FrameMonitor (int))]