Sunday, March 12, 2017

fft - DFT - Removing window effect in spectral domain with convolution


I was thinking about the DFT windowing subject and a thought came to my mind. A DFT will yield the spectrum of a signal convoluted with spectrum of the window used, therefore having a main lobes and side lobes.


I figured it would be possible to remove the window effect on the spectrum of the signal by convoluting again both the signal and the window spectrum magnitude, and it did indeed works as you can see on the following image.


enter image description here


Left is the original spectrum generated with a hanning window. Right is the spectrum convoluted by the DFT of a hanning window. Top is the Spectrum itself, bottom is MATLAB findpeaks result.


I never read anything regarding this technique, but I am pretty sure I haven't invented anything there. So I am wondering if there is a benefit of doing this processing on the spectrum or if there is a downside to it that I am not seeing.


From what I see, this could help peak detection as we can see on the previous image. Also, it looks like the spectrum is a little bit distorted as we can see on the 2 following images. :


enter image description here enter image description here


Where the blue graph is the spectrum and the red graph the post-convoluted spectrum.




  • Any thought about this?

  • Is there a problem that could arise from this post-FFT convolution?

  • Any paper that treats the subject?


EDIT


You can find a script here that will generate the following graph:


enter image description here




No comments:

Post a Comment

periodic trends - Comparing radii in lithium, beryllium, magnesium, aluminium and sodium ions

Apparently the of last four, $\ce{Mg^2+}$ is closest in radius to $\ce{Li+}$. Is this true, and if so, why would a whole larger shell ($\ce{...