11 #ifndef _FILTER_FIRDES_H_ 12 #define _FILTER_FIRDES_H_ 48 static std::vector<float>
52 double transition_width,
71 static std::vector<float>
72 low_pass_2(
double gain,
75 double transition_width,
76 double attenuation_dB,
93 static std::vector<float>
94 high_pass(
double gain,
97 double transition_width,
116 static std::vector<float>
117 high_pass_2(
double gain,
118 double sampling_freq,
120 double transition_width,
121 double attenuation_dB,
123 double param = 6.76);
139 static std::vector<float>
140 band_pass(
double gain,
141 double sampling_freq,
142 double low_cutoff_freq,
143 double high_cutoff_freq,
144 double transition_width,
146 double param = 6.76);
164 static std::vector<float>
165 band_pass_2(
double gain,
166 double sampling_freq,
167 double low_cutoff_freq,
168 double high_cutoff_freq,
169 double transition_width,
170 double attenuation_dB,
172 double param = 6.76);
187 static std::vector<gr_complex> complex_band_reject(
189 double sampling_freq,
190 double low_cutoff_freq,
191 double high_cutoff_freq,
192 double transition_width,
194 double param = 6.76);
212 static std::vector<gr_complex> complex_band_reject_2(
214 double sampling_freq,
215 double low_cutoff_freq,
216 double high_cutoff_freq,
217 double transition_width,
218 double attenuation_dB,
220 double param = 6.76);
236 static std::vector<gr_complex> complex_band_pass(
238 double sampling_freq,
239 double low_cutoff_freq,
240 double high_cutoff_freq,
241 double transition_width,
243 double param = 6.76);
261 static std::vector<gr_complex> complex_band_pass_2(
263 double sampling_freq,
264 double low_cutoff_freq,
265 double high_cutoff_freq,
266 double transition_width,
267 double attenuation_dB,
269 double param = 6.76);
285 static std::vector<float>
286 band_reject(
double gain,
287 double sampling_freq,
288 double low_cutoff_freq,
289 double high_cutoff_freq,
290 double transition_width,
292 double param = 6.76);
310 static std::vector<float>
311 band_reject_2(
double gain,
312 double sampling_freq,
313 double low_cutoff_freq,
314 double high_cutoff_freq,
315 double transition_width,
316 double attenuation_dB,
318 double param = 6.76);
326 static std::vector<float>
327 hilbert(
unsigned int ntaps = 19,
329 double param = 6.76);
340 static std::vector<float>
341 root_raised_cosine(
double gain,
342 double sampling_freq,
355 static std::vector<float> gaussian(
double gain,
361 static double bessi0(
double x);
362 static void sanity_check_1f(
double sampling_freq,
double f1,
double transition_width);
364 sanity_check_2f(
double sampling_freq,
double f1,
double f2,
double transition_width);
365 static void sanity_check_2f_c(
double sampling_freq,
368 double transition_width);
370 static int compute_ntaps(
double sampling_freq,
371 double transition_width,
375 static int compute_ntaps_windes(
double sampling_freq,
376 double transition_width,
377 double attenuation_dB);
GNU Radio logging wrapper.
Definition: basic_block.h:29
Finite Impulse Response (FIR) filter design functions.
Definition: firdes.h:28
#define FILTER_API
Definition: gr-filter/include/gnuradio/filter/api.h:18
win_type
Definition: window.h:28