Windows - window functions

Windows - window functions

DSP.Windows.rectFunction.
rect(n)

Rectangular window function of length n.

source
DSP.Windows.hanningFunction.
hanning(n)

Hanning window of length n.

source
DSP.Windows.hammingFunction.
hamming(n)

Hamming window of length n.

source
DSP.Windows.tukeyFunction.
tukey(n, alpha)

Tukey window of length n, parameterized by alpha. For alpha = 0, the window is equivalent to a rectangular window. For alpha = 1, the window is a Hann window.

source
DSP.Windows.cosineFunction.
cosine(n)

Cosine window of length n. Also called the sine window for obvious reasons.

source
DSP.Windows.lanczosFunction.
lanczos(n)

Lanczos window of length n.

source
DSP.Windows.triangFunction.
triang(n)

Triangular window of length n.

source
DSP.Windows.bartlettFunction.
bartlett(n)

Bartlett window of length n.

source
DSP.Windows.gaussianFunction.
gaussian(n, sigma)

Gaussian window of length n parameterized by the standard deviation sigma.

source
bartlett_hann(n)

Bartlett-Hann window of length n.

source
DSP.Windows.blackmanFunction.
blackman(n)

"Exact" Blackman window, alpha = 0.16.

source
DSP.Windows.kaiserFunction.
kaiser(n, alpha)

Kaiser window of length n parameterized by alpha.

source
DSP.Windows.dpssFunction.
dpss(n, nw, ntapers=iceil(2*nw)-1)

The first ntapers discrete prolate spheroid sequences (Slepian tapers) as an n × ntapers matrix. The signs of the tapers follow the convention that the first element of the skew-symmetric (odd) tapers is positive. The time-bandwidth product is given by nw.

source
DSP.Windows.dpsseigFunction.
dpsseig(A, nw)

Eigenvalues of the DPSS matrix, representing the ratios of the power within the main lobe to the total power (main and sidelobes). A is the output of dpss, and nw is the time-bandwidth product provided to dpss as input.

source