Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused get_cleaning_parameters function #1170

Merged
merged 1 commit into from
Nov 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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