The Hann function is named after the Austrian meteorologist Julius von Hann. It is a window function used to perform Hann smoothing. The function, with length L {\displaystyle L} and amplitude 1 / L , {\displaystyle 1/L,} is given by:
For digital signal processing, the function is sampled symmetrically (with spacing L / N {\displaystyle L/N} and amplitude 1 {\displaystyle 1} ):
which is a sequence of N + 1 {\displaystyle N+1} samples, and N {\displaystyle N} can be even or odd. It is also known as the raised cosine window, Hann filter, von Hann window, Hanning window, etc.