ess.dream.io.geant4.assemble_detector_data#
- ess.dream.io.geant4.assemble_detector_data(detector)[source]#
In the raw data, the tofs extend beyond 71ms, this is thus not an event_time_offset. We convert the detector data to data which resembles NeXus data, with event_time_zero and event_time_offset coordinates.
- Parameters:
detector (
EmptyDetector[TypeVar(RunType,ess.reduce.nexus.types.SampleRun(int),ess.reduce.nexus.types.VanadiumRun(int),ess.powder.types.EmptyCanRun(int))]) – The calibrated detector data.- Return type:
RawDetector[TypeVar(RunType,ess.reduce.nexus.types.SampleRun(int),ess.reduce.nexus.types.VanadiumRun(int),ess.powder.types.EmptyCanRun(int))]