11 #ifndef INCLUDED_FFT_WINDOW_H 12 #define INCLUDED_FFT_WINDOW_H 26 static constexpr
double INVALID_WIN_PARAM = -1;
36 WIN_BLACKMAN_hARRIS = 5,
42 WIN_BLACKMAN_NUTTALL = 8,
86 static double max_attenuation(win_type type,
double param = INVALID_WIN_PARAM);
91 static std::vector<float> coswindow(
int ntaps,
float c0,
float c1,
float c2);
96 static std::vector<float>
97 coswindow(
int ntaps,
float c0,
float c1,
float c2,
float c3);
102 static std::vector<float>
103 coswindow(
int ntaps,
float c0,
float c1,
float c2,
float c3,
float c4);
112 static std::vector<float> rectangular(
int ntaps);
126 static std::vector<float> hamming(
int ntaps);
140 static std::vector<float> hann(
int ntaps);
147 static std::vector<float> hanning(
int ntaps);
161 static std::vector<float> blackman(
int ntaps);
166 static std::vector<float> blackman2(
int ntaps);
171 static std::vector<float> blackman3(
int ntaps);
176 static std::vector<float> blackman4(
int ntaps);
192 static std::vector<float> blackman_harris(
int ntaps,
int atten = 92);
197 static std::vector<float> blackmanharris(
int ntaps,
int atten = 92);
214 static std::vector<float> nuttall(
int ntaps);
221 static std::vector<float> blackman_nuttall(
int ntaps);
239 static std::vector<float> nuttall_cfd(
int ntaps);
259 static std::vector<float> flattop(
int ntaps);
275 static std::vector<float> kaiser(
int ntaps,
double beta);
289 static std::vector<float> bartlett(
int ntaps);
291 static std::vector<float> welch(
int ntaps);
304 static std::vector<float> parzen(
int ntaps);
314 static std::vector<float> exponential(
int ntaps,
double d);
327 static std::vector<float> riemann(
int ntaps);
341 static std::vector<float> tukey(
int ntaps,
float alpha);
352 static std::vector<float> gaussian(
int ntaps,
float sigma);
364 static std::vector<float> build(win_type type,
366 double param = INVALID_WIN_PARAM,
367 const bool normalize =
false);
#define FFT_API
Definition: gr-fft/include/gnuradio/fft/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29
win_type
Definition: window.h:28