r0_to_dl1#

osa.scripts.datasequence.r0_to_dl1(calibration_file: Path, pedestal_file: Path, time_calibration_file: Path, systematic_correction_file: Path, drive_file: Path, run_summary: Path, pedestal_ids_file: Path, run_str: str) int#

Prepare and launch the actual lstchain script that is performing the low and high-level calibration to raw camera images. It also applies the image cleaning and obtains shower parameters.

Parameters:
calibration_file: pathlib.Path
pedestal_file: pathlib.Path
time_calibration_file: pathlib.Path
systematic_correction_file: pathlib.Path
drive_file: pathlib.Path
run_summary:pathlib.Path

Path to the run summary file

pedestal_ids_file: pathlib.Path

Path to file containing the interleaved pedestal event ids

run_str: str

XXXXX.XXXX (run_number.subrun_number)

Returns:
rc: int

Return code of the executed command.