Gaussian Window - psambit9791/jdsp GitHub Wiki
Symmetricity parameter is a boolean with the following effect:
- TRUE : generates a symmetric window, for use in filter design
- FALSE : generates a periodic window, for use in spectral analysis
The parameters for this window are as follows:
- Window Length ⇨ 51
- Standard Deviation ⇨ 7
Code
int len = 51;
int std = 7;
Gaussian w1 = new Gaussian(len, std); // For symmetric
double[] out = w1.getWindow();
Gaussian w2 = new Gaussian(len, std, false); // For asymmetric
double[] out = w2.getWindow();