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.SampleRun
(int
),ess.reduce.nexus.types.VanadiumRun
(int
),ess.powder.types.EmptyCanRun
(int
))]