ess.snspowder.powgen.data.pooch_load#
- ess.snspowder.powgen.data.pooch_load(filename)[source]#
Load a file with pooch.
If the file is a zip archive, it is extracted and a path to the contained file is returned.
The loaded data holds both the events and any metadata from the file.
- Return type:
RawDataAndMetadata
[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
))]