asgardpy.io.input_dl3 module¶
Basic classes defining Input Config for DL3 files and some functions to retrieve the DL3 files information.
Currently supporting files following enrico/fermipy for Fermi-LAT data for 3D Dataset and DL3 files that follow GADF v0.3 and can be directly read by Gammapy, for 1D Dataset.
- class asgardpy.io.input_dl3.DL3Files(dir_dict, log=None)[source]¶
Bases:
objectA general class to retrieve information from given DL3 files, along with other auxiliary files for neighbouring sources, if provided.
- list_dl3_files()[source]¶
From a given DL3 files path, categorize the different types of DL3 files, to be used for further analysis.
The dl3_type of ‘gadf-dl3’ is used for all GADF v0.3 following DL3 files that can be directly read by Gammapy, for 1D Datasets.
- pydantic model asgardpy.io.input_dl3.InputDL3Config[source]¶
Bases:
BaseConfigConfig section for main information on getting the relevant DL3 files.