ess.isissans.general.get_calibrated_isis_detector#

ess.isissans.general.get_calibrated_isis_detector(detector, *, offset)[source]#

Replacement for ess.reduce.nexus.workflow.get_calibrated_detector().

Differences: :rtype: CalibratedDetector[TypeVar(RunType, ess.reduce.nexus.types.BackgroundRun (int), ess.reduce.nexus.types.EmptyBeamRun (int), ess.reduce.nexus.types.SampleRun (int), TransmissionRun[ess.reduce.nexus.types.SampleRun (int)], TransmissionRun[ess.reduce.nexus.types.BackgroundRun (int)], ess.reduce.nexus.types.VanadiumRun (int))]

  • The detector position is already pre-computed.

  • The detector is not reshaped.

The reason for the partial duplication is to avoid having to put ISIS/Mantid specific code in the generic workflow.