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.

The output contains pixel positions computed from transform and offset. If transform is time-dependent, the output contains a ‘time’ dimension and coordinate corresponding to the time coordinate of transform.

Parameters:
Return type:

EmptyDetector[TypeVar(RunType)]