ess.reduce.nexus.workflow.assemble_detector_data#
- ess.reduce.nexus.workflow.assemble_detector_data(detector, neutron_data)[source]#
Assemble a detector data array with event data.
Also adds variances to the event data if they are missing.
- Parameters:
detector (
EmptyDetector[TypeVar(RunType)]) – Calibrated detector data array.neutron_data (
NeXusData[NXdetector,TypeVar(RunType)]) – Neutron data array (events or histogram).
- Return type:
RawDetector[TypeVar(RunType)]