load_irf_files#

magicctapipe.io.load_irf_files(input_dir_irf)[source]#

Loads input IRF data files for the IRF interpolation and checks the consistency of their configurations.

Parameters:
input_dir_irfstr

Path to a directory where input IRF data files are stored

Returns:
irf_datadict

IRF data

extra_headerdict

Extra header of the input IRF data

Raises:
FileNotFoundError

If any IRF data files are not found in the input directory

RuntimeError

If the configurations of the input IRFs are not consistent