Hann function

Hann function (left), and its frequency response (right)

The Hann function, named after the Austrian meteorologist Julius von Hann, is a discrete window function given by

or

or, in terms of the haversine function,

Spectrum

The Hann window is a linear combination of modulated rectangular windows . From Euler's formula

Due to the basic properties of the Fourier transform, its spectrum is

with the spectrum of the rectangular window

(the modulation factor vanishes if windows are time-shifted around 0).

Name

Hann function is the original name, in honour of von Hann; however, the erroneous "Hanning" function is also heard of on occasion, derived from the paper in which it was named, where the term "hanning a signal" was used to mean applying the Hann window to it. The confusion arose from the similar Hamming function, named after Richard Hamming.

Use

The Hann function is typically used as a window function in digital signal processing to select a subset of a series of samples in order to perform a Fourier transform or other calculations.

i.e. (using continuous version to illustrate)

Such windows are also widely called "Hanning windows" and "Hann'd".

The advantage of the Hann window is very low aliasing, and the tradeoff slightly is a decreased resolution (widening of the main lobe).

See also

References


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.