1
$\begingroup$

From this page: https://community.sw.siemens.com/s/article/window-correction-factors there is a list of correction factors for popular windows. Is there a correction factor for Tukey window, depending on factor for the Tukey-window? Have not found this as yet.

$\endgroup$
3
  • $\begingroup$ that article assumes a specific implementation of a window (e.g., I've never used a Hann window where I needed to correct amplitude? What kind of definition do they use? Hann is just $\sin^2(\pi n/\text{length})$, how could amplitude become > 1?). Also, what kind of definition of "energy correction factor" do they use if the 1-amplitude uniform window has an energy factor of 1 instead of its length? $\endgroup$ Nov 8, 2022 at 9:29
  • $\begingroup$ As far as I understood the articles they list, your amplitudes (for respective frequency bins) are either correct in energy or amplitude, never both at the same time. So depending on what you want to display or calculate, you need to correct the amplitudes. $\endgroup$
    – birki
    Nov 8, 2022 at 11:21
  • $\begingroup$ I think the amplitude correction factor is also called effective bandwidth of the windowing function (f.ex. Hann Window = 1.5). In my case, I want to calculate the RMS amplitude of for a given frequency range. I need the amplitude correction factor for the window to include in the noise bandwidth factor. $\endgroup$
    – birki
    Nov 8, 2022 at 11:30

1 Answer 1

3
$\begingroup$

$w$ is the window function, $N$ is the length of the window.

  • Amplitude correction: $$\text{ACF} = \cfrac{N}{\sum_{n=0}^{N-1}w[n]} = \cfrac{1}{\text{mean(w)}} $$

  • Energy correction: $$\text{ECF} = \sqrt{\cfrac{N}{\sum_{n=0}^{N-1} w[n]^2}} = \cfrac{1}{\text{rms(w)}}$$

In matlab:

% Tukey
N = 2^16;
acf = 1/mean(tukeywin(N)); % = 1.3334
ecf = 1/rms(tukeywin(N)); % = 1.2061
$\endgroup$
7
  • $\begingroup$ Still something is a unclear: if i create an amplitude spectra by fft, what is the value without windowing and overlap. Is it the correct amplitude or energy? $\endgroup$
    – birki
    Nov 8, 2022 at 13:36
  • $\begingroup$ then your window is effectively a rectangular window, so ACF = 1 and ECF = 1 as well. $\endgroup$
    – Jdip
    Nov 8, 2022 at 13:48
  • $\begingroup$ thanks, that makes sense. And then if I create the same with a window, what is the amplitude value? Is it just an uncorrected value and if i need either one, the correct energy or the correct amplitude, I need to apply them? $\endgroup$
    – birki
    Nov 8, 2022 at 13:53
  • $\begingroup$ yes. It depends on the type of spectrum you are looking at. this in my opinion is the best reference on the subject. $\endgroup$
    – Jdip
    Nov 8, 2022 at 14:02
  • $\begingroup$ Also, this answer $\endgroup$
    – Jdip
    Nov 8, 2022 at 14:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.