projects
/
calibcant.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
898d8da
)
analyze.py: Set `changed = True` for tweaked vibration variance
master
author
W. Trevor King
<wking@tremily.us>
Sun, 5 May 2013 01:16:12 +0000
(21:16 -0400)
committer
W. Trevor King
<wking@tremily.us>
Sun, 5 May 2013 01:16:12 +0000
(21:16 -0400)
I missed this in
560f9f9
(Get calibcant working with the new
load_from_config-based pyafm, 2012-03-16).
calibcant/analyze.py
patch
|
blob
|
history
diff --git
a/calibcant/analyze.py
b/calibcant/analyze.py
index 47d510a7278da23cc0fe0e8c2edf084e86a38b00..c765387a7534d05373f229287e1c75ec95d1cc53 100644
(file)
--- a/
calibcant/analyze.py
+++ b/
calibcant/analyze.py
@@
-392,6
+392,7
@@
def check_vibration(index, vibration, config=None, maximum_relative_error=0,
else:
rel_error = abs(variance-vibration['processed'])/vibration['processed']
if rel_error > maximum_relative_error:
+ changed = True
_LOG.warn(("new analysis doesn't match for vibration {}: {} != {} "
"(difference: {}, relative error: {})").format(
index, variance, vibration['processed'],