11 #ifndef _FILTER_FIRDES_H_
12 #define _FILTER_FIRDES_H_
49 static std::vector<float>
53 double transition_width,
73 static std::vector<float>
74 low_pass_2(
double gain,
77 double transition_width,
78 double attenuation_dB,
96 static std::vector<float>
97 high_pass(
double gain,
100 double transition_width,
120 static std::vector<float>
121 high_pass_2(
double gain,
122 double sampling_freq,
124 double transition_width,
125 double attenuation_dB,
144 static std::vector<float>
145 band_pass(
double gain,
146 double sampling_freq,
147 double low_cutoff_freq,
148 double high_cutoff_freq,
149 double transition_width,
170 static std::vector<float>
171 band_pass_2(
double gain,
172 double sampling_freq,
173 double low_cutoff_freq,
174 double high_cutoff_freq,
175 double transition_width,
176 double attenuation_dB,
194 static std::vector<gr_complex> complex_band_reject(
196 double sampling_freq,
197 double low_cutoff_freq,
198 double high_cutoff_freq,
199 double transition_width,
220 static std::vector<gr_complex> complex_band_reject_2(
222 double sampling_freq,
223 double low_cutoff_freq,
224 double high_cutoff_freq,
225 double transition_width,
226 double attenuation_dB,
245 static std::vector<gr_complex> complex_band_pass(
247 double sampling_freq,
248 double low_cutoff_freq,
249 double high_cutoff_freq,
250 double transition_width,
271 static std::vector<gr_complex> complex_band_pass_2(
273 double sampling_freq,
274 double low_cutoff_freq,
275 double high_cutoff_freq,
276 double transition_width,
277 double attenuation_dB,
296 static std::vector<float>
297 band_reject(
double gain,
298 double sampling_freq,
299 double low_cutoff_freq,
300 double high_cutoff_freq,
301 double transition_width,
322 static std::vector<float>
323 band_reject_2(
double gain,
324 double sampling_freq,
325 double low_cutoff_freq,
326 double high_cutoff_freq,
327 double transition_width,
328 double attenuation_dB,
339 static std::vector<float>
340 hilbert(
unsigned int ntaps = 19,
353 static std::vector<float>
354 root_raised_cosine(
double gain,
355 double sampling_freq,
368 static std::vector<float> gaussian(
double gain,
374 static double bessi0(
double x);
375 static void sanity_check_1f(
double sampling_freq,
double f1,
double transition_width);
377 sanity_check_2f(
double sampling_freq,
double f1,
double f2,
double transition_width);
378 static void sanity_check_2f_c(
double sampling_freq,
381 double transition_width);
383 static int compute_ntaps(
double sampling_freq,
384 double transition_width,
388 static int compute_ntaps_windes(
double sampling_freq,
389 double transition_width,
390 double attenuation_dB);