From 844aa2eb064f95a48d35967cabfb7d122e561497 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 2 Sep 2020 14:17:13 +0200 Subject: remove debug output --- bin/msp430-etv | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/msp430-etv b/bin/msp430-etv index a698d83..c3a0f5e 100755 --- a/bin/msp430-etv +++ b/bin/msp430-etv @@ -89,7 +89,6 @@ def running_mean(x: np.ndarray, N: int) -> np.ndarray: # at the boundaries boundary_array = np.insert(x, 0, np.full((N // 2), x[0])) boundary_array = np.append(boundary_array, np.full((N // 2 + N % 2), x[-1])) - print(boundary_array) cumsum = np.cumsum(boundary_array) return (cumsum[N:] - cumsum[:-N]) / N @@ -400,7 +399,9 @@ if __name__ == "__main__": plt.legend(handles=[energyhandle, meanhandle]) plt.ylabel("Voltage [V]") elif opt["plot"] == "I": - print("Warning: The current reported by energytrace is aggressively smoothed and often inaccurate.") + print( + "Warning: The current reported by energytrace is aggressively smoothed and often inaccurate." + ) # nA (energyhandle,) = plt.plot( data[1:, 0] * 1e-6, data[1:, 1] * 1e-9, "b-", label="I", markersize=1 -- cgit v1.2.3