From b6cdcb787e75ca92fc8ef8212c6c51afcb94b4fb Mon Sep 17 00:00:00 2001 From: Alex Wiens <alex.wiens@uni-paderborn.de> Date: Thu, 13 Feb 2025 16:44:13 +0100 Subject: [PATCH] Prule.builtin: Remove unnecessary prints --- prule/builtin/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/prule/builtin/__init__.py b/prule/builtin/__init__.py index cc320a6..e95e985 100644 --- a/prule/builtin/__init__.py +++ b/prule/builtin/__init__.py @@ -186,7 +186,6 @@ class Data: col_mean = np.mean(sel, axis=1, keepdims=True) new_col.append(col_mean) new_array = np.column_stack(new_col) - print(new_array.shape) return Data(new_array, copy.deepcopy(self.time), copy.deepcopy(self.metadata)) # mean_int # This "mean" function considers irregular sample times by @@ -257,7 +256,6 @@ class Data: col_sum = np.sum(sel, axis=1, keepdims=True) new_col.append(col_sum) new_array = np.column_stack(new_col) - print(new_array.shape) return Data(new_array, copy.deepcopy(self.time), copy.deepcopy(self.metadata)) def any(self, scope='time'): if scope == 'all': @@ -363,7 +361,6 @@ class Data: pf = np.polynomial.polynomial.Polynomial.fit(x, self.array[:,i].magnitude, deg=1) pf_conv = pf.convert() pfs.append(pf_conv) - print(pf) return pfs def to_array(self): time = self.time -- GitLab