From a208748f5396ff3530ab6ab947ad7f6e5f1f8582 Mon Sep 17 00:00:00 2001 From: fuchenxi <1256257282@qq.com> Date: Sun, 22 Sep 2024 15:17:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util/math.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/math.py b/util/math.py index 39dce93..2aca14f 100644 --- a/util/math.py +++ b/util/math.py @@ -107,4 +107,4 @@ def signal_convolution(signal_original: ROOT.TH1F, pulse_responce_function, sign so_i = so.GetBinContent(i) for j in range(-i,n_bin-i): pr_j = pr(j*t_bin) - sc.Fill((i+j)*t_bin - 1e-14, so_i*pr_j*t_bin) # resolve float error + sc.Fill((i+j)*t_bin - 1e-14, so_i*pr_j*t_bin) # 1e-14 resolves float error -- GitLab