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.py312 def _moving_pattern_matching(golden_signal, test_signal, threshold): argument
328 if len(golden_signal) < len(test_signal):
332 number_of_movings = len(golden_signal) - block_length + 1
339 golden_signal_block = golden_signal[start:end]
368 def _get_correlation_index(golden_signal, test_signal): argument
380 if len(golden_signal) != len(test_signal):
383 len(golden_signal), len(test_signal)))
385 norm_golden = numpy.linalg.norm(golden_signal)
396 correlation = numpy.correlate(golden_signal, test_signal, 'valid')[0]