diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-09-10 08:31:36 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-09-10 08:31:36 +0200 |
commit | be8841a6239f2d951885d8d4a885e28cab01f45a (patch) | |
tree | 5cab317d3a9cc95cdc3b80c03ff7b7bb8695dd12 | |
parent | ec070c835af53174d4780ee395107fb60329a065 (diff) |
Improve --threshold-peakcount documentation, add DEPENDENCIES
-rw-r--r-- | COPYING | 2 | ||||
-rwxr-xr-x | bin/msp430-etv | 18 |
2 files changed, 15 insertions, 5 deletions
@@ -1,4 +1,4 @@ -Copyright (C) 2018 Daniel Friesel <daniel.friesel@uos.de> +Copyright (C) 2018-2019 Daniel Friesel <daniel.friesel@uos.de> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/bin/msp430-etv b/bin/msp430-etv index 075426a..ee47fe4 100755 --- a/bin/msp430-etv +++ b/bin/msp430-etv @@ -58,12 +58,22 @@ OPTIONS If the threshold is set to "mean", the mean power of all measurements will be used --threshold-peakcount <num> - Automatically determine threshold so that there are exactly <num> peaks. - A peaks is a group of consecutive measurements with mean power >= threshold + Automatically determine a threshold so that there are exactly <num> peaks. + A peaks is a group of consecutive measurements with mean power >= threshold. + WARNING: In general, there is more than one threshold value leading to + exactly <num> peaks. If the difference between baseline and peak + power is sufficiently high, this option should do what you mean[tm] --plot - Show power/time plot + Draw power/time plot --stat - Show mean voltage, current, and power as well as total energy consumption. + Print mean voltage, current, and power as well as total energy consumption. + +DEPENDENCIES + +For data measurements (i.e., any invocation not using --load), +energytrace-util <https://github.com/carrotIndustries/energytrace-util> +must be available in $PATH and libmsp430.so must be located in the +LD library search path (e.g. LD_LIBRARY_PATH=../MSP430Flasher). ''') def peak_search(data, lower, upper, direction_function): |