HOME

TheInfoList



OR:

The Hann function is named after the Austrian meteorologist
Julius von Hann Julius Ferdinand von Hann (23 March 1839 in Wartberg ob der Aist near Linz – 1 October 1921 in Vienna) was an Austrian meteorologist. He is seen as a father of modern meteorology. Biography He was educated at the gymnasium of Kremsmünster a ...
. It is a
window function In signal processing and statistics, a window function (also known as an apodization function or tapering function) is a mathematical function that is zero-valued outside of some chosen interval, normally symmetric around the middle of the inte ...
used to perform Hann smoothing. The function, with length L and amplitude 1/L, is given by: : w_0(x) \triangleq \left\.   For
digital signal processing Digital signal processing (DSP) is the use of digital processing, such as by computers or more specialized digital signal processors, to perform a wide variety of signal processing operations. The digital signals processed in this manner are ...
, the function is sampled symmetrically (with spacing L/N and amplitude 1): : \left . \begin w = L\cdot w_0\left(\tfrac (n-N/2)\right) &= \tfrac \left - \cos \left ( \tfrac \right) \right\ &= \sin^2 \left ( \tfrac \right) \end \right \},\quad 0 \leq n \leq N, which is a sequence of N+1 samples, and N can be even or odd. (see ) It is also known as the raised cosine window, Hann filter, von Hann window, etc.


Fourier transform

The
Fourier transform A Fourier transform (FT) is a mathematical transform that decomposes functions into frequency components, which are represented by the output of the transform as a function of frequency. Most commonly functions of time or space are transformed, ...
of w_0(x) is given by: :W_0(f) = \frac\frac = \frac  


Discrete transforms

The
Discrete-time Fourier transform In mathematics, the discrete-time Fourier transform (DTFT) is a form of Fourier analysis that is applicable to a sequence of values. The DTFT is often used to analyze samples of a continuous function. The term ''discrete-time'' refers to the ...
(DTFT) of the N+1 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: : \begin \mathcal\ &\triangleq \sum_^ w cdot e^\\ &= e^\left tfrac \frac + \tfrac \frac + \tfrac \frac\right \end 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: :\mathcal\ = e^\left tfrac \frac + \tfrac e^ \frac + \tfrac e^ \frac\right An N-length DFT of the window function samples the DTFT at frequencies f = k/N, for integer values of k. 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 In mathematics (in particular, functional analysis), convolution is a operation (mathematics), mathematical operation on two function (mathematics), functions ( and ) that produces a third function (f*g) that expresses how the shape of one is ...
.


Name

The function is named in honor of von Hann, who used the three-term weighted average smoothing technique on meteorological data. However, the term ''Hanning'' function is also conventionally used, derived from the paper in which 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 Richard Wesley Hamming (February 11, 1915 – January 7, 1998) was an American mathematician whose work had many implications for computer engineering and telecommunications. His contributions include the Hamming code (which makes use of a Ha ...
.


See also

*
Window function In signal processing and statistics, a window function (also known as an apodization function or tapering function) is a mathematical function that is zero-valued outside of some chosen interval, normally symmetric around the middle of the inte ...
*
Apodization In signal processing, apodization (from Greek "removing the foot") is the modification of the shape of a mathematical function. The function may represent an electrical signal, an optical transmission or a mechanical structure. In optics, it is p ...
*
Raised cosine distribution In probability theory and statistics, the raised cosine distribution is a continuous probability distribution supported on the interval mu-s,\mu+s/math>. The probability density function (PDF) is :f(x;\mu,s)=\frac \left +\cos\left(\frac\,\pi\rig ...
*
Raised-cosine filter The raised-cosine filter is a filter frequently used for pulse-shaping in digital modulation due to its ability to minimise intersymbol interference (ISI). Its name stems from the fact that the non-zero portion of the frequency spectrum of its simp ...


Page citations


References

#
  • {{refend


    External links


    Hann function
    at
    MathWorld ''MathWorld'' is an online mathematics reference work, created and largely written by Eric W. Weisstein. It is sponsored by and licensed to Wolfram Research, Inc. and was partially funded by the National Science Foundation's National Science Dig ...
    Signal processing