Lines Matching refs:signal
29 def normalize_signal(signal, saturate_value): argument
39 signal = numpy.array(signal)
40 return signal / float(saturate_value)
43 def spectral_analysis(signal, rate, min_peak_ratio=DEFAULT_MIN_PEAK_RATIO, argument
70 if len(signal) == 0:
73 signal_rms = numpy.linalg.norm(signal) / numpy.sqrt(len(signal))
80 y_conv_w = signal * numpy.hanning(len(signal))
184 def anomaly_detection(signal, rate, freq, argument
210 if len(signal) == 0:
217 for start in xrange(0, len(signal), block_size / 2):
219 test_signal = signal[start:end]