From 0ebe7717076d5ef60869a0ab2292710c47b8b130 Mon Sep 17 00:00:00 2001 From: Arnau Aguasca-Cabot Date: Tue, 26 Sep 2023 10:50:02 +0200 Subject: [PATCH] Remove get_cleaning_parameters --- lstchain/calib/camera/pixel_threshold_estimation.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lstchain/calib/camera/pixel_threshold_estimation.py b/lstchain/calib/camera/pixel_threshold_estimation.py index 8ebfd390b0..7ce0c5b507 100644 --- a/lstchain/calib/camera/pixel_threshold_estimation.py +++ b/lstchain/calib/camera/pixel_threshold_estimation.py @@ -5,7 +5,6 @@ from lstchain.io.config import get_standard_config from lstchain.io.config import read_configuration_file, replace_config -from lstchain.io.config import get_cleaning_parameters ORIGINAL_CALIBRATION_ID = 0 INTERLEAVED_CALIBRATION_ID = 1 @@ -140,7 +139,6 @@ def find_safe_threshold_from_dl1_file(dl1_path, config_file=None, config = std_config cleaning_method = 'tailcuts_clean_with_pedestal_threshold' - picture_th, _, _, _ = get_cleaning_parameters(config, cleaning_method) sigma = config[cleaning_method]['sigma'] # Obtain the picture thresholds of pixels based on the "clean with