Hann function

Source: Wikipedia, the free encyclopedia.
Hann function (left), and its frequency response (right)

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

  [a]

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

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.

Hamming function, named after Richard Hamming
.

See also

Page citations

  1. ^ Nuttall 1981, p 84 (3)
  2. ^ Nuttall 1981, p 86 (17)
  3. ^ Nuttall 1981, p 85
  4. ^ Harris 1978, p 62

References

  1. ^ Essenwanger, O. M. (Oskar M.) (1986). Elements of statistical analysis. Elsevier.
    OCLC 152410575
    .
  2. ^ a b c Kahlig, Peter (1993), "Some aspects of Julius von Hann's contribution to modern climatology", in McBean, G.A.; Hantel, M. (eds.), Interactions Between Global Climate Subsystems: The Legacy of Hann, Geophysical Monograph Series, vol. 75, American Geophysical Union, pp. 1–7, , retrieved 2019-07-01, Hann appears to be the inventor of a certain data smoothing procedure, now called "hanning" ... or "Hann smoothing" ... Essentially, it is a three-term moving average (running mean) with unequal weights (1/4, 1/2, 1/4).
  3. ^ Smith, Julius O. (Julius Orion) (2011). Spectral audio signal processing. Stanford University. Center for Computer Research in Music and Acoustics., Stanford University. Department of Music. [Stanford, Calif.?]: W3K.
    OCLC 776892709
    .
  4. ^ a b
    ISSN 0005-8580
    .
  5. ^ US patent 6898235, Carlin, Joe; Collins, Terry & Hays, Peter et al., "Wideband communication intercept and direction finding device using hyperchannelization", published 1999-12-10, issued 2005-05-24 , also available at https://patentimages.storage.googleapis.com/4d/39/2a/cec2ae6f33c1e7/US6898235.pdf
  6. ^ von Hann, Julius (1903). Handbook of Climatology. Macmillan. p. 199. The figures under b are determined by taking into account the parallels 5° away on either side. Thus, for example, for latitude 60° we have ½[60 + (65 + 55)÷2].
  7. ^ Harris, Fredric J. (Jan 1978). "On the use of Windows for Harmonic Analysis with the Discrete Fourier Transform" (PDF). Proceedings of the IEEE. 66 (1): 51–83. . The correct name of this window is 'Hann.' The term 'Hanning' is used in this report to reflect conventional usage. The derived term 'Hann'd' is also widely used.
  8. ^
    LCCN 59-10185.{{cite book}}: CS1 maint: publisher location (link
    )
  1. Nuttall, Albert H. (Feb 1981). "Some Windows with Very Good Sidelobe Behavior". IEEE Transactions on Acoustics, Speech, and Signal Processing. 29 (1): 84–91. .