diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-09-02 14:16:19 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-09-02 14:16:33 +0200 |
commit | e4a51e250f2a814460126aa8157bc403ab75d222 (patch) | |
tree | 1e8a9005e894de5ac6d67245ee836e0f99435fb2 | |
parent | c12740bd78208fbcf6b7efdaa0ab4e38e3b31091 (diff) |
print a warning when plotting current
-rwxr-xr-x | bin/msp430-etv | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/msp430-etv b/bin/msp430-etv index e7e83f3..a698d83 100755 --- a/bin/msp430-etv +++ b/bin/msp430-etv @@ -400,6 +400,7 @@ 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.") # nA (energyhandle,) = plt.plot( data[1:, 0] * 1e-6, data[1:, 1] * 1e-9, "b-", label="I", markersize=1 |