commit | e06762a66e82ab90993870ff4c217ba3a30b9987 | [log] [tgz] |
---|---|---|
author | koder aka kdanilov <kdanilov@mirantis.com> | Sun Mar 22 23:32:09 2015 +0200 |
committer | koder aka kdanilov <kdanilov@mirantis.com> | Sun Mar 22 23:32:09 2015 +0200 |
tree | 50e6cdf01f416384b828be9d09ca1a3eb93da66f | |
parent | 04cbf11c1d98769de455770e1ed04503047ca0e3 [diff] [blame] |
large refactoring of new code
diff --git a/data_processing.py b/data_processing.py index 2905bbe..387ea3f 100644 --- a/data_processing.py +++ b/data_processing.py
@@ -2,6 +2,8 @@ # to avoid circular imports. import math +# fix and update all this. Take statistic code from scripts/data2.py + class Measurement(object): def __init__(self): @@ -20,9 +22,7 @@ def mean(l): - n = len(l) - - return sum(l) / n + return sum(l) / len(l) def stdev(l):