Skip to content

Commit

Permalink
Merge pull request #1170 from cta-observatory/unused_function
Browse files Browse the repository at this point in the history
Remove unused `get_cleaning_parameters` function
  • Loading branch information
rlopezcoto authored Nov 30, 2023
2 parents 38da653 + 0ebe771 commit d27e2fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lstchain/calib/camera/pixel_threshold_estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d27e2fe

Please sign in to comment.