ess.reduce.nexus.workflow.assemble_detector_data#

ess.reduce.nexus.workflow.assemble_detector_data(detector, event_data)[source]#

Assemble a detector data array with event data.

Also adds variances to the event data if they are missing.

Parameters:
Return type:

DetectorData[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))]