diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-09-02 14:17:13 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-09-02 14:17:13 +0200 |
commit | 844aa2eb064f95a48d35967cabfb7d122e561497 (patch) | |
tree | 19308982458ef5e25677c8617fbca363c1d04130 /bin | |
parent | e4a51e250f2a814460126aa8157bc403ab75d222 (diff) |
remove debug output
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/msp430-etv | 5 |
1 files 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 |