Home
last modified time | relevance | path

Searched refs:golden_signal (Results 1 – 1 of 1) sorted by relevance

/external/autotest/client/cros/audio/
Daudio_analysis.py307 def _moving_pattern_matching(golden_signal, test_signal, threshold): argument
323 if len(golden_signal) < len(test_signal):
327 number_of_movings = len(golden_signal) - block_length + 1
334 golden_signal_block = golden_signal[start:end]
363 def _get_correlation_index(golden_signal, test_signal): argument
375 if len(golden_signal) != len(test_signal):
378 len(golden_signal), len(test_signal)))
380 norm_golden = numpy.linalg.norm(golden_signal)
391 correlation = numpy.correlate(golden_signal, test_signal, 'valid')[0]