0

Before I begin I have to tell you that I have zero knowledge about DSP in python.
I want to deconvolute two sound signals using python so that I can extract the room impulse response, the input signal being a sinesweep and the output a record of it.
I wrote a piece of code but it didn't work, I've been trying for too long and really without results.
Can someone please help me with a code that calculate the FFT of the input and output then calculate h the iFFT of their fraction and plot it.

Dave2e
  • 22,192
  • 18
  • 42
  • 50

1 Answers1

0

Deconvolution is an ill-posed tough problem in presence of noise and spatially-variant blurring. I assume you have a non spatially variant problem, as far as you are using FFTs, so you can use restoration module from skimage python package (instead of programming the algorithm at low level with FFTs).

Here you can study a code example with one of the implemented methods in restoration module.

I recommend you to read O'Leary et al. book if you want to learn more. All authors of this book have more advanced books about this great topic.

David
  • 231
  • 1
  • 3
  • 7