calib: allow lower coherency

This commit is contained in:
Roman Zeyde
2014-11-09 17:24:00 +02:00
parent ceb826728a
commit 6b1e39f48f

View File

@@ -59,7 +59,7 @@ def run_recorder(config, recorder):
freq = config.frequencies[max_index]
rms = abs(coeffs[max_index])
coherency = rms / total
flags = [rms > 0.1, peak < 1.0, coherency > 0.9999]
flags = [rms > 0.1, peak < 1.0, coherency > 0.99]
states.append(all(flags))
states = states[-2:]