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_filestr

Path to an input MAGIC calibrated data file

output_dirstr

Path to a directory where to save an output DL1 data file

configdict

Configuration for the LST-1 + MAGIC analysis

max_eventsint

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)