diff --git a/lstchain/calib/camera/flatfield.py b/lstchain/calib/camera/flatfield.py index c8be8fe4d1..83d3cbe433 100644 --- a/lstchain/calib/camera/flatfield.py +++ b/lstchain/calib/camera/flatfield.py @@ -39,8 +39,8 @@ class FlasherFlatFieldCalculator(FlatFieldCalculator): help='Interval of accepted charge values (fraction with respect to camera median value)' ).tag(config=True) charge_std_cut_outliers = List( - [-3, 3], - help='Interval (number of std) of accepted charge standard deviation around camera median value' + [1/3, 3], + help='Interval (fraction with respect to camera median value) of accepted charge standard deviation' ).tag(config=True) time_cut_outliers = List( [0, 60], help="Interval (in waveform samples) of accepted time values" @@ -343,9 +343,6 @@ def calculate_relative_gain_results( # median of the std over the camera median_of_pixel_std = np.ma.median(pixel_std, axis=1) - # std of the std over camera - std_of_pixel_std = np.ma.std(pixel_std, axis=1) - # relative gain relative_gain_event = masked_trace_integral / event_median[:, :, np.newaxis] diff --git a/lstchain/calib/camera/pedestals.py b/lstchain/calib/camera/pedestals.py index 68e0ae27d9..4068f9243c 100644 --- a/lstchain/calib/camera/pedestals.py +++ b/lstchain/calib/camera/pedestals.py @@ -38,13 +38,13 @@ class PedestalIntegrator(PedestalCalculator): """ charge_median_cut_outliers = List( - [-3, 3], + [-4, 4], help='Interval (number of std) of accepted charge values around camera median value' ).tag(config=True) charge_std_cut_outliers = List( - [-3, 3], - help='Interval (number of std) of accepted charge standard deviation around camera median value' + [1/3, 3], + help='Interval (factor of median over pixels of std over events) of accepted charge standard deviation', ).tag(config=True) time_sampling_correction_path = Path(