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.py302 def _moving_pattern_matching(golden_signal, test_signal, threshold): argument
318 if len(golden_signal) < len(test_signal):
322 number_of_movings = len(golden_signal) - block_length + 1
329 golden_signal_block = golden_signal[start:end]
358 def _get_correlation_index(golden_signal, test_signal): argument
370 if len(golden_signal) != len(test_signal):
373 len(golden_signal), len(test_signal)))
375 norm_golden = numpy.linalg.norm(golden_signal)
386 correlation = numpy.correlate(golden_signal, test_signal, 'valid')[0]