load_irf_dict_from_file#

gammapy.irf.load_irf_dict_from_file(filename)[source]#

Open a fits file and generate a dictionary containing the Gammapy objects corresponding to the IRF components stored

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