Lines Matching refs:test_signal
267 test_signal = signal[start:end]
268 matched = _moving_pattern_matching(golden_y, test_signal, threshold)
307 def _moving_pattern_matching(golden_signal, test_signal, threshold): argument
323 if len(golden_signal) < len(test_signal):
326 block_length = len(test_signal)
337 golden_signal_block, test_signal)
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)))
381 norm_test = numpy.linalg.norm(test_signal)
391 correlation = numpy.correlate(golden_signal, test_signal, 'valid')[0]