magic_calib_to_dl1#
- magicctapipe.scripts.magic_calib_to_dl1(input_file, output_dir, config, max_events, magic_only=False, process_run=False)[source]#
Processes the events of MAGIC calibrated data and computes the DL1 parameters.
- Parameters:
- input_file
str Path to an input MAGIC calibrated data file
- output_dir
str Path to a directory where to save an output DL1 data file
- config
dict Configuration for the LST-1 + MAGIC analysis
- max_events
int Maximum number of events to process
- magic_onlybool, optional
If True, it will store subarray information only for the MAGIC telescopes. This is needed if the pipeline will be used for MAGIC-only analysis.
- process_runbool, optional
If True, it processes the events of all the subrun files found in the same directory of the input subrun file at once (applicable only to real data)
- input_file