11 #ifndef INCLUDED_FFT_WINDOW_H
12 #define INCLUDED_FFT_WINDOW_H
33 WIN_BLACKMAN_hARRIS = 5,
39 WIN_BLACKMAN_NUTTALL = 8,
84 static double max_attenuation(win_type type,
double beta = 6.76);
89 static std::vector<float> coswindow(
int ntaps,
float c0,
float c1,
float c2);
94 static std::vector<float>
95 coswindow(
int ntaps,
float c0,
float c1,
float c2,
float c3);
100 static std::vector<float>
101 coswindow(
int ntaps,
float c0,
float c1,
float c2,
float c3,
float c4);
110 static std::vector<float> rectangular(
int ntaps);
124 static std::vector<float> hamming(
int ntaps);
138 static std::vector<float> hann(
int ntaps);
145 static std::vector<float> hanning(
int ntaps);
159 static std::vector<float> blackman(
int ntaps);
164 static std::vector<float> blackman2(
int ntaps);
169 static std::vector<float> blackman3(
int ntaps);
174 static std::vector<float> blackman4(
int ntaps);
190 static std::vector<float> blackman_harris(
int ntaps,
int atten = 92);
195 static std::vector<float> blackmanharris(
int ntaps,
int atten = 92);
212 static std::vector<float> nuttall(
int ntaps);
217 static std::vector<float> nuttal(
int ntaps);
224 static std::vector<float> blackman_nuttall(
int ntaps);
229 static std::vector<float> blackman_nuttal(
int ntaps);
247 static std::vector<float> nuttall_cfd(
int ntaps);
252 static std::vector<float> nuttal_cfd(
int ntaps);
272 static std::vector<float> flattop(
int ntaps);
288 static std::vector<float> kaiser(
int ntaps,
double beta);
302 static std::vector<float> bartlett(
int ntaps);
304 static std::vector<float> welch(
int ntaps);
317 static std::vector<float> parzen(
int ntaps);
327 static std::vector<float> exponential(
int ntaps,
double d);
340 static std::vector<float> riemann(
int ntaps);
354 static std::vector<float> tukey(
int ntaps,
float alpha);
365 static std::vector<float> gaussian(
int ntaps,
float sigma);
378 static std::vector<float>
379 build(win_type type,
int ntaps,
double beta = 6.76,
const bool normalize =
false);