diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-07-06 15:29:34 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-07-06 15:29:34 +0200 |
commit | 1963778c9e8412ef4280fbd012ec14d590f58ca0 (patch) | |
tree | 80061f4b1bd4b2c4b663fb6b4d978007aac113e2 | |
parent | 2a4ee78fd4c8b57f759135e068d85cf730b2e268 (diff) |
remove unused mean_or_none function
-rw-r--r-- | lib/dfatool.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/dfatool.py b/lib/dfatool.py index 47ce24e..e8b5090 100644 --- a/lib/dfatool.py +++ b/lib/dfatool.py @@ -27,17 +27,6 @@ except ImportError: arg_support_enabled = True -def mean_or_none(arr): - """ - Compute mean of NumPy array `arr`, return -1 if empty. - - :param arr: 1-Dimensional NumPy array - """ - if len(arr): - return np.mean(arr) - return -1 - - class KeysightCSV: """Simple loader for Keysight CSV data, as exported by the windows software.""" |