Commit 992d3ae8 authored by Alessio Berti's avatar Alessio Berti
Browse files

Fixed calls to CameraCalibrator class: removed non existing attribute...

Fixed calls to CameraCalibrator class: removed non existing attribute r1_product and renamed attribute extractor_name to image_extractor.
parent 7834f327
......@@ -182,8 +182,7 @@ def process_dataset_mc(input_mask, output_name, image_cleaning_settings):
config[integrator_name]['window_width'] = 5
config[integrator_name]['window_shift'] = 1
calibrator = CameraCalibrator(r1_product="HESSIOR1Calibrator",
extractor_name=integrator_name, config=config)
calibrator = CameraCalibrator(image_extractor=integrator_name, config=config)
# Finding available MC files
input_files = glob.glob(input_mask)
......@@ -332,8 +331,7 @@ def process_dataset_data(input_mask, tel_id, output_name, image_cleaning_setting
config[integrator_name]['window_width'] = 5
config[integrator_name]['window_shift'] = 1
calibrator = CameraCalibrator(r1_product="HESSIOR1Calibrator",
extractor_name=integrator_name, config=config)
calibrator = CameraCalibrator(image_extractor=integrator_name, config=config)
# Now let's loop over the events and perform:
# - image cleaning;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment