ess.dream.io.geant4.extract_geant4_detector#
- ess.dream.io.geant4.extract_geant4_detector(detectors, detector_name)[source]#
Extract a single detector from a loaded GEANT4 simulation.
- Return type:
NeXusComponent
[NXdetector
,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
))]