ess.reduce.nexus.workflow.get_calibrated_monitor#
- ess.reduce.nexus.workflow.get_calibrated_monitor(monitor, offset, source_position)[source]#
Extract the data array corresponding to a monitor’s signal field.
The returned data array includes coords pertaining directly to the signal values array, but not additional information about the monitor.
- Parameters:
monitor (
NeXusComponent
[TypeVar
(MonitorType
),TypeVar
(RunType
)]) – NeXus monitor group.offset (
MonitorPositionOffset
[TypeVar
(RunType
),TypeVar
(MonitorType
)]) – Offset to add to the monitor position.source_position (
Position
[NXsource
,TypeVar
(RunType
)]) – Position of the neutron source.
- Return type:
CalibratedMonitor
[TypeVar
(RunType
),TypeVar
(MonitorType
)]