From de2c1b666b1d0b191291e0fc0d04f22a769dcbf2 Mon Sep 17 00:00:00 2001 From: Gerd Duscher <50049264+gduscher@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:04:02 -0500 Subject: [PATCH] Update eels_tools.py --- pyTEMlib/eels_tools.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyTEMlib/eels_tools.py b/pyTEMlib/eels_tools.py index 7cc93072..c568cc93 100644 --- a/pyTEMlib/eels_tools.py +++ b/pyTEMlib/eels_tools.py @@ -2287,7 +2287,8 @@ def smooth2(dataset, iterations, advanced_present): if advanced_present and iterations > 1: # peak_model, peak_out_list = advanced_eels_tools.smooth(dataset, peaks['fit_start'], - pass peaks['fit_end'], iterations=iterations) + # peaks['fit_end'], iterations=iterations) + pass else: peak_model, peak_out_list = find_peaks(dataset, peaks['fit_start'], peaks['fit_end']) peak_out_list = [peak_out_list]