summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/dfatool.py11
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."""