Efficient version of matlab's deconv in python

Is there an efficient implementation of matlab's deconv in python?

# Convolve
z=conv(x, y) 
# Deconvolve
y0=deconv(z, x)
# Hope y~=y0

(surprisingly, googling this bring no intresting results)

Answers


Scipy and Numpy are pretty efficient for numerical calculations. Specifically, you can use convolve and deconvolve

For an even faster implementation of convolve, also check out fftconvolve


Need Your Help

Auto-fill uses half the cores

excel excel-2010 excel-interop excel-dna

I'm autofilling some columns in Excel (one at a time). These column use a UDF I wrote in ExcelDna. Using taskmanager, I notice that only half of the cores are being used. Excel settings is set t...

Android OpenSL don't support SL_IID_PLAYBACKRATE?

android android-ndk opensl

I have created a Audio Instrument using NDK, for get low latency performance, I choose OpenSL to play the music files.But I failed to change the playback rate of playing music.