ess.reduce.nexus.workflow.get_calibrated_detector#
- ess.reduce.nexus.workflow.get_calibrated_detector(detector, *, transform, offset, bank_sizes)[source]#
Extract the data array corresponding to a detector’s signal field.
The data array is reshaped to the logical detector shape, by folding the data array along the detector_number dimension.
- Parameters:
detector (
NeXusComponent[NXdetector,TypeVar(RunType)]) – NeXus detector group.offset (
DetectorPositionOffset[TypeVar(RunType)]) – Offset to add to the detector position.bank_sizes (
nexus.types.DetectorBankSizes(dict)) – Dictionary of detector bank sizes.
- Return type:
EmptyDetector[TypeVar(RunType)]