From 7f64dd691b3655d74ee5137faa6468f5ed1075b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=B6ne=2C=20Tjark=20Leon=20Raphael?= <tjark.leon.raphael.groene@uni-hamburg.de> Date: Tue, 6 May 2025 14:52:22 +0200 Subject: [PATCH] Update file bg_subtraction.py --- .../functions/bg_subtraction.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pure code not instalable as environment/functions/bg_subtraction.py b/pure code not instalable as environment/functions/bg_subtraction.py index 4b149f5..eff0b54 100644 --- a/pure code not instalable as environment/functions/bg_subtraction.py +++ b/pure code not instalable as environment/functions/bg_subtraction.py @@ -533,10 +533,6 @@ class Processing_Data: reduced_I = j[Qmin:Qmax] reduced_bg_I = self.I_bg[Qmin:Qmax] reduced_q = self.q[Qmin:Qmax] - print(reduced_q) - print( np.trapz(y=reduced_I, x=reduced_q), np.trapz(y=reduced_bg_I, x=reduced_q) ) - - self.factor = (np.trapz(y=reduced_I, x=reduced_q , dx=1e-10) )/ np.trapz(y=reduced_bg_I, x=reduced_q , dx=1e-10) + correction[i] # I_condition = True -- GitLab