create_irf#
- magicctapipe.scripts.create_irf(input_file_gamma, input_file_proton, input_file_electron, output_dir, config)[source]#
Processes MC DL2 events and creates the IRFs.
- Parameters:
- input_file_gamma
str Path to an input gamma MC DL2 data file
- input_file_proton
str Path to an input proton MC DL2 data file
- input_file_electron
str Path to an input electron MC DL2 data file
- output_dir
str Path to a directory where to save an output IRF file
- config
dict Configuration for the LST-1 + MAGIC analysis
- input_file_gamma
- Raises:
RuntimeErrorIf the pointing direction does not match between the input MCs
ValueErrorIf the input type of gammaness or theta cut is not known