Home
last modified time | relevance | path

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

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/
Daudio_analysis.py402 def _moving_pattern_matching(golden_signal, test_signal, threshold): argument
420 if len(golden_signal) < len(test_signal):
424 number_of_movings = len(golden_signal) - block_length + 1
431 golden_signal_block = golden_signal[start:end]
459 def _get_correlation_index(golden_signal, test_signal): argument
474 if len(golden_signal) != len(test_signal):
476 (len(golden_signal), len(test_signal)))
478 norm_golden = numpy.linalg.norm(golden_signal)
489 correlation = numpy.correlate(golden_signal, test_signal, 'valid')[0]