ess.isissans.general.get_detector_data#
- ess.isissans.general.get_detector_data(dg, sample_offset, detector_bank_offset)[source]#
Get detector data and apply user offsets to raw data.
- Parameters:
dg (
LoadedFileContents
[TypeVar
(RunType
,types.BackgroundRun
(int
),types.EmptyBeamRun
(int
),types.SampleRun
(int
),TransmissionRun
[types.SampleRun
(int
)],TransmissionRun
[types.BackgroundRun
(int
)])]) – Data loaded with Mantid and converted to Scipp.sample_offset (
ess.isissans.components.SampleOffset
(scipp.Variable
)) – Sample offset.detector_bank_offset (
ess.isissans.components.DetectorBankOffset
(scipp.Variable
)) – Detector bank offset.
- Return type:
RawDetector
[TypeVar
(RunType
,types.BackgroundRun
(int
),types.EmptyBeamRun
(int
),types.SampleRun
(int
),TransmissionRun
[types.SampleRun
(int
)],TransmissionRun
[types.BackgroundRun
(int
)])]