load_irf_dict_from_file#
- gammapy.irf.load_irf_dict_from_file(filename)[source]#
Load all available IRF components from given file into a dict.
If multiple IRFs of the same type are present, the first encountered is returned.
- Parameters
- filenamestr, Path
path to the file containing the IRF components, if EVENTS and GTI HDUs are included in the file, they are ignored
- Returns
- irf_dictdict of
IRF
dictionary with instances of the Gammapy objects corresponding to the IRF components
- irf_dictdict of