HANNING

The HANNING function is used to create a "window" for Fourier Transform filtering. It can be used to create both Hanning and Hamming windows.

This routine is written in the IDL language. Its source code can be found in the file hanning.pro in the lib subdirectory of the IDL distribution.

Calling Sequence

Result = HANNING( N 1 [, N 2 ] )

Arguments

N 1

The number of columns in the resulting array.

N 2

The number of rows in the resulting array.

Keywords

ALPHA

Set this keyword equal to the width parameter of a generalized Hamming window. ALPHA must be in the range of 0.5 to 1.0. If ALPHA = 0.5 (the default) the function is called a "Hanning" window. If ALPHA = 0.54, the result is called a "Hamming" window.

See Also

FFT