Hann function

Mathematical function used in signal processing From Wikipedia, the free encyclopedia

Hann function

The Hann function is named after the Austrian meteorologist Julius von Hann. It is a window function used to perform Hann smoothing.[1] The function, with length and amplitude is given by:

  [a]
Thumb
Hann function (left), and its frequency response (right)

For digital signal processing, the function is sampled symmetrically (with spacing and amplitude ):

which is a sequence of samples, and can be even or odd. It is also known as the raised cosine window, Hann filter, von Hann window, Hanning window, etc.[2][3][4]

Fourier transform

Summarize
Perspective
Thumb
Top: 16 sample DFT-even Hann window. Bottom: Its discrete-time Fourier transform (DTFT) and the 3 non-zero values of its discrete Fourier transform (DFT).

The Fourier transform of is given by:

  [b]
Derivation

Using Euler's formula to expand the cosine term in we can write:

which is a linear combination of modulated rectangular windows:

Transforming each term:

Discrete transforms

The Discrete-time Fourier transform (DTFT) of the length, time-shifted sequence is defined by a Fourier series, which also has a 3-term equivalent that is derived similarly to the Fourier transform derivation:

The truncated sequence is a DFT-even (aka periodic) Hann window. Since the truncated sample has value zero, it is clear from the Fourier series definition that the DTFTs are equivalent. However, the approach followed above results in a significantly different-looking, but equivalent, 3-term expression:

An N-length DFT of the window function samples the DTFT at frequencies for integer values of From the expression immediately above, it is easy to see that only 3 of the N DFT coefficients are non-zero. And from the other expression, it is apparent that all are real-valued. These properties are appealing for real-time applications that require both windowed and non-windowed (rectangularly windowed) transforms, because the windowed transforms can be efficiently derived from the non-windowed transforms by convolution.[5][c][d]

Name

The function is named in honor of von Hann, who used the three-term weighted average smoothing technique on meteorological data.[6][2] However, the term Hanning function is also conventionally used,[7] derived from the paper in which the term hanning a signal was used to mean applying the Hann window to it.[4][8] It is distinct from the similarly-named Hamming function, named after Richard Hamming.

See also

Page citations

  1. Nuttall 1981, p 84 (3)
  2. Nuttall 1981, p 86 (17)

References

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.