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:
detector (
CalibratedBeamline
[TypeVar
(RunType
)]) – Calibrated detector data array.event_data (
NeXusData
[NXdetector
,TypeVar
(RunType
)]) – Event data array.
- Return type:
DetectorData
[TypeVar
(RunType
)]