The most recent version of this page is a draft.This version (26 Dec 2021 22:09) was *approved* by Robin Getz.The Previously approved version (25 Dec 2021 05:47) is available.

**This is an old revision of the document!**

A window function is a mathematical function that is normally symmetric around the middle of the interval, usually near a maximum in the middle, and usually tapering away from the middle.

Each window function has its own characteristics and suitability for different applications (some are more frequency accurate, others are more amplitude accurate). To choose a window function, you (the user) must select the most appropriate one. Some suggestions:

- Sine wave or combination of sine waves: Hann
- Sine wave (amplitude accuracy is important): Flat Top
- Narrowband random signal (vibration data): Hann
- Broadband random (white noise): Rectangular
- Closely spaced sine waves: Uniform, Hamming
- Excitation signals (hammer blow): Force
- Response signals: Exponential
- Unknown content: Hann
- Two tones with frequencies close but amplitudes very different: Kaiser-Bessel
- Two tones with frequencies close and almost equal amplitudes: Rectangular

Hann (also known as Hanning, raised cosine, or von Hann) window, is named after the Austrian meteorologist Julius von Hann. The math looks like:

The rectangular window (also known as as boxcar, uniform or Dirichlet window) is the simplest window, equivalent to replacing all but N values of a data sequence by zeros, making it appear as though the waveform suddenly turns on and off.

General purpose Blackman windows are defined as:

The version that we implement is known as the *Exact Blackman* and uses:

The cosine window is also known as the sine window, as it represents half a cycle of a sinusoidal function,

/srv/wiki.analog.com/data/pages/resources/tools-software/linux-software/iio_oscilloscope/window_functions.txt · Last modified: 01 Jan 2022 07:36 by Robin Getz