#include <KaiserWindow.h>
Static Public Member Functions | |
| static void | create (std::vector< double > &samples, double shape) |
| static double | computeShape (double atten) |
| static unsigned long | computeLength (double width, double alpha) |
| static void Loris::KaiserWindow::create | ( | std::vector< double > & | samples, | |
| double | shape | |||
| ) | [static] |
Build a new Kaiser analysis window having shaping parameter shape.
| samples | is the vector that will store the window samples. The number of samples computed will be equal to the length of this vector. Any previous contents will be overwritten. | |
| shape | is the Kaiser shaping parameter, controlling the sidelobe rejection level. |
| static double Loris::KaiserWindow::computeShape | ( | double | atten | ) | [static] |
Compute a shaping parameter that will achieve the specified level of sidelobe rejection.
| atten | is the desired sidelobe attenuation in positive decibels (e.g. 65 dB) |
| static unsigned long Loris::KaiserWindow::computeLength | ( | double | width, | |
| double | alpha | |||
| ) | [static] |
Compute the necessary length in samples of a Kaiser window having the specified shaping parameter that has the desired main lobe width.
| width | is the desired main lobe width expressed as a fraction of the sample rate. | |
| alpha | is the Kaiser shaping parameter (the main lobe width is influenced primarily by the window length,but also by the shape). |
1.5.5