ess.dream.io.geant4.assemble_monitor_data#

ess.dream.io.geant4.assemble_monitor_data(monitor)[source]#

Dummy assembly of monitor data, monitor already contains neutron data. We simply add a Ltotal coordinate necessary to calculate the time-of-flight.

Parameters:

monitor (CalibratedMonitor[TypeVar(RunType, ess.reduce.nexus.types.SampleRun (int), ess.reduce.nexus.types.VanadiumRun (int)), TypeVar(MonitorType, ess.reduce.nexus.types.Monitor1 (int), ess.reduce.nexus.types.Monitor2 (int))]) – The calibrated monitor data.

Return type:

MonitorData[TypeVar(RunType, ess.reduce.nexus.types.SampleRun (int), ess.reduce.nexus.types.VanadiumRun (int)), TypeVar(MonitorType, ess.reduce.nexus.types.Monitor1 (int), ess.reduce.nexus.types.Monitor2 (int))]