ess.bifrost.detector.get_base_calibrated_detector_bifrost#
- ess.bifrost.detector.get_base_calibrated_detector_bifrost(detector, analyzer, *, transform, offset)[source]#
Extract the data array corresponding to a detector’s signal field.
This function is specific to BIFROST and differs from the generic
ess.reduce.nexus.workflow.get_calibrated_detector()in that it assigns time-dependent positions by broadcasting the data into the ‘time’ dimension.- Parameters:
detector (
NeXusComponent[NXdetector,TypeVar(RunType,ess.reduce.nexus.types.SampleRun(int),ess.reduce.nexus.types.VanadiumRun(int))]) – Loaded NeXus detector.analyzer (
Analyzer[TypeVar(RunType,ess.reduce.nexus.types.SampleRun(int),ess.reduce.nexus.types.VanadiumRun(int))]) – Loaded analyzer parameters.transform (
NeXusTransformation[NXdetector,TypeVar(RunType,ess.reduce.nexus.types.SampleRun(int),ess.reduce.nexus.types.VanadiumRun(int))]) – Transformation that determines the detector position.offset (
DetectorPositionOffset[TypeVar(RunType,ess.reduce.nexus.types.SampleRun(int),ess.reduce.nexus.types.VanadiumRun(int))]) – Offset to add to the detector position.
- Returns:
DataArray– Detector with geometry coordinates.