ess.dream.io.geant4.load_geant4_csv#
- ess.dream.io.geant4.load_geant4_csv(file_path)[source]#
Load a GEANT4 CSV file for DREAM.
- Parameters:
file_path (
Filename
[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
))]) –Indicates where to load data from. One of:
URL of a CSV or zipped CSV file.
Path to a CSV or zipped CSV file on disk.
File handle or buffer for reading text or binary data.
- Returns:
AllRawDetectors
[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
))] – Ascipp.DataGroup
containing the loaded events.