23 #ifndef _FILTER_FIRDES_H_
24 #define _FILTER_FIRDES_H_
49 WIN_BLACKMAN_hARRIS = 5,
50 WIN_BLACKMAN_HARRIS = 5,
70 static std::vector<float>
74 double transition_width,
75 win_type window = WIN_HAMMING,
96 static std::vector<float>
97 low_pass_2(
double gain,
100 double transition_width,
101 double attenuation_dB,
102 win_type window = WIN_HAMMING,
120 static std::vector<float>
121 high_pass(
double gain,
122 double sampling_freq,
124 double transition_width,
125 win_type window = WIN_HAMMING,
146 static std::vector<float>
147 high_pass_2(
double gain,
148 double sampling_freq,
150 double transition_width,
151 double attenuation_dB,
152 win_type window = WIN_HAMMING,
170 static std::vector<float>
171 band_pass(
double gain,
172 double sampling_freq,
173 double low_cutoff_freq,
174 double high_cutoff_freq,
175 double transition_width,
176 win_type window = WIN_HAMMING,
198 static std::vector<float>
199 band_pass_2(
double gain,
200 double sampling_freq,
201 double low_cutoff_freq,
202 double high_cutoff_freq,
203 double transition_width,
204 double attenuation_dB,
205 win_type window = WIN_HAMMING,
223 static std::vector<gr_complex>
224 complex_band_pass(
double gain,
225 double sampling_freq,
226 double low_cutoff_freq,
227 double high_cutoff_freq,
228 double transition_width,
229 win_type window = WIN_HAMMING,
251 static std::vector<gr_complex>
252 complex_band_pass_2(
double gain,
253 double sampling_freq,
254 double low_cutoff_freq,
255 double high_cutoff_freq,
256 double transition_width,
257 double attenuation_dB,
258 win_type window = WIN_HAMMING,
277 static std::vector<float>
278 band_reject(
double gain,
279 double sampling_freq,
280 double low_cutoff_freq,
281 double high_cutoff_freq,
282 double transition_width,
283 win_type window = WIN_HAMMING,
305 static std::vector<float>
306 band_reject_2(
double gain,
307 double sampling_freq,
308 double low_cutoff_freq,
309 double high_cutoff_freq,
310 double transition_width,
311 double attenuation_dB,
312 win_type window = WIN_HAMMING,
321 static std::vector<float>
322 hilbert(
unsigned int ntaps = 19,
323 win_type windowtype = WIN_RECTANGULAR,
335 static std::vector<float>
336 root_raised_cosine(
double gain,
337 double sampling_freq,
349 static std::vector<float>
350 gaussian(
double gain,
356 static std::vector<float> window (win_type type,
int ntaps,
double beta);
359 static double bessi0(
double x);
360 static void sanity_check_1f(
double sampling_freq,
double f1,
361 double transition_width);
362 static void sanity_check_2f(
double sampling_freq,
double f1,
double f2,
363 double transition_width);
364 static void sanity_check_2f_c(
double sampling_freq,
double f1,
double f2,
365 double transition_width);
367 static int compute_ntaps(
double sampling_freq,
368 double transition_width,
369 win_type window_type,
double beta);
371 static int compute_ntaps_windes(
double sampling_freq,
372 double transition_width,
373 double attenuation_dB);
Finite Impulse Response (FIR) filter design functions.
Definition: firdes.h:39
#define FILTER_API
Definition: gr-filter/include/gnuradio/filter/api.h:30
win_type
Definition: firdes.h:42