python Programming Glossary: signal1
Convolution computations in Numpy/Scipy http://stackoverflow.com/questions/6855169/convolution-computations-in-numpy-scipy that basically did this np is numpy sp is scipy def mix1 signal1 signal2 spec1 np.fft.fft signal1 axis 1 spec2 np.fft.fft signal2.. sp is scipy def mix1 signal1 signal2 spec1 np.fft.fft signal1 axis 1 spec2 np.fft.fft signal2 axis 1 return np.fft.ifft spec1.. simple convolution so I tried to replace it with def mix2 signal1 signal2 outputs np.empty_like signal1 for idx row in enumerate..
|