Lines Matching refs:test_signal
272 test_signal = signal[start:end]
273 matched = _moving_pattern_matching(golden_y, test_signal, threshold)
312 def _moving_pattern_matching(golden_signal, test_signal, threshold): argument
328 if len(golden_signal) < len(test_signal):
331 block_length = len(test_signal)
342 golden_signal_block, test_signal)
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)))
386 norm_test = numpy.linalg.norm(test_signal)
396 correlation = numpy.correlate(golden_signal, test_signal, 'valid')[0]