|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home MathPack Fourier Properties WeightingWindow|
|See also: Transform, TFastFourierWgtWin, WgtFunction|
A signal sampled for a limited amount of time may exhibit a distorted Fourier spectrum. In order to minimize this distortion, the signal may be multiplied by a weighting function which reduces the signal towards zero at both ends of the sampling window. Several weighting windows are provided by TFastFourier (the coefficients given in the table below are rounded, the actual calculation uses much more precise coefficients - see the source code for details):
Please note that selecting the right window is always a compromise and some kind of art. Further, the cosine bell window, the Hamming window, and the general Tukey window are closely related to each other. The general Tukey window is defined by the following function:
The parameter a determines the kind of window:
Hamming window: a = 0.23Please note that the resulting equation for the Hanning window may be transformed to the cos2 function by simple trigonometric calculations.