11 #ifndef _FILTER_FIRDES_H_
12 #define _FILTER_FIRDES_H_
48 static std::vector<float>
52 double transition_width,
71 static std::vector<float>
75 double transition_width,
76 double attenuation_dB,
93 static std::vector<float>
97 double transition_width,
116 static std::vector<float>
118 double sampling_freq,
120 double transition_width,
121 double attenuation_dB,
123 double param = 6.76);
139 static std::vector<float>
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>
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);
189 double sampling_freq,
190 double low_cutoff_freq,
191 double high_cutoff_freq,
192 double transition_width,
194 double param = 6.76);
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);
238 double sampling_freq,
239 double low_cutoff_freq,
240 double high_cutoff_freq,
241 double transition_width,
243 double param = 6.76);
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>
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>
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>
329 double param = 6.76);
340 static std::vector<float>
342 double sampling_freq,
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);
win_type
Definition: window.h:28
Finite Impulse Response (FIR) filter design functions.
Definition: firdes.h:29
static std::vector< float > window(fft::window::win_type type, int ntaps, double param)
static std::vector< float > high_pass_2(double gain, double sampling_freq, double cutoff_freq, double transition_width, double attenuation_dB, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double param=6.76)
Use "window method" to design a high-pass FIR filter. The normalized width of the transition band and...
static std::vector< float > low_pass_2(double gain, double sampling_freq, double cutoff_freq, double transition_width, double attenuation_dB, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double param=6.76)
Use "window method" to design a low-pass FIR filter. The normalized width of the transition band and ...
static std::vector< float > band_reject(double gain, double sampling_freq, double low_cutoff_freq, double high_cutoff_freq, double transition_width, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double param=6.76)
Use "window method" to design a band-reject FIR filter. The normalized width of the transition band i...
static std::vector< float > band_pass_2(double gain, double sampling_freq, double low_cutoff_freq, double high_cutoff_freq, double transition_width, double attenuation_dB, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double param=6.76)
Use "window method" to design a band-pass FIR filter. The normalized width of the transition band and...
static std::vector< gr_complex > complex_band_reject_2(double gain, double sampling_freq, double low_cutoff_freq, double high_cutoff_freq, double transition_width, double attenuation_dB, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double param=6.76)
Use "window method" to design a complex band-reject FIR filter. The normalized width of the transitio...
static std::vector< float > band_reject_2(double gain, double sampling_freq, double low_cutoff_freq, double high_cutoff_freq, double transition_width, double attenuation_dB, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double param=6.76)
Use "window method" to design a band-reject FIR filter. The normalized width of the transition band a...
static std::vector< float > hilbert(unsigned int ntaps=19, fft::window::win_type windowtype=fft::window::win_type::WIN_RECTANGULAR, double param=6.76)
design a Hilbert Transform Filter
static std::vector< float > gaussian(double gain, double spb, double bt, int ntaps)
design a Gaussian filter
static std::vector< float > band_pass(double gain, double sampling_freq, double low_cutoff_freq, double high_cutoff_freq, double transition_width, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double param=6.76)
Use "window method" to design a band-pass FIR filter. The normalized width of the transition band is ...
static std::vector< gr_complex > complex_band_pass(double gain, double sampling_freq, double low_cutoff_freq, double high_cutoff_freq, double transition_width, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double param=6.76)
Use the "window method" to design a complex band-pass FIR filter. The normalized width of the transit...
static std::vector< float > low_pass(double gain, double sampling_freq, double cutoff_freq, double transition_width, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double param=6.76)
Use "window method" to design a low-pass FIR filter. The normalized width of the transition band is w...
static std::vector< gr_complex > complex_band_reject(double gain, double sampling_freq, double low_cutoff_freq, double high_cutoff_freq, double transition_width, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double param=6.76)
Use the "window method" to design a complex band-reject FIR filter. The normalized width of the trans...
static std::vector< gr_complex > complex_band_pass_2(double gain, double sampling_freq, double low_cutoff_freq, double high_cutoff_freq, double transition_width, double attenuation_dB, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double param=6.76)
Use "window method" to design a complex band-pass FIR filter. The normalized width of the transition ...
static std::vector< float > root_raised_cosine(double gain, double sampling_freq, double symbol_rate, double alpha, int ntaps)
design a Root Cosine FIR Filter (do we need a window?)
static std::vector< float > high_pass(double gain, double sampling_freq, double cutoff_freq, double transition_width, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double param=6.76)
Use "window method" to design a high-pass FIR filter. The normalized width of the transition band is ...
#define FILTER_API
Definition: gr-filter/include/gnuradio/filter/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29