Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_analysis.py348 def _moving_pattern_matching(golden_signal, test_signal, threshold): argument
366 if len(golden_signal) < len(test_signal):
370 number_of_movings = len(golden_signal) - block_length + 1
377 golden_signal_block = golden_signal[start:end]
405 def _get_correlation_index(golden_signal, test_signal): argument
420 if len(golden_signal) != len(test_signal):
422 (len(golden_signal), len(test_signal)))
424 norm_golden = numpy.linalg.norm(golden_signal)
435 correlation = numpy.correlate(golden_signal, test_signal, 'valid')[0]