Window function
In mathematics, a window function is a special function that can be applied to a signal, as it occurs in digital signal processing. A window function has a value of zero outside the domain which is of interest, and a non-zero value inside this domain. When multiplied with the signal (function), the result will be zero outside the domain of interest, and non-zero inside it - it will only leave the "window". The simplest possible window function is rectangular: It is 1 inside the domain of interest, and zero everywhere else. It is named Dirichlet window (after Peter Gustav Lejeune Dirichlet). Many window functions are symmetric around the center (which is often in the middle of the interval). They will amplify or weaken the signal in certain positions,
Window Function Media
A popular window function, the Hann window. Most popular window functions are similar bell-shaped curves.
The first figure is ½ cycle of a sine function, called a sine window function. Window functions are sometimes depicted centered around n=0, in which case this becomes a cosine function. Therefore, it is sometimes also referred to as a "cosine window", which is easily confused with the unrelated "family of cosine windows".