23#ifndef _FILTER_FIRDES_H_
24#define _FILTER_FIRDES_H_
52 WIN_BLACKMAN_hARRIS = 5,
76 static std::vector<float>
80 double transition_width,
99 static std::vector<float>
101 double sampling_freq,
103 double transition_width,
104 double attenuation_dB,
121 static std::vector<float>
123 double sampling_freq,
125 double transition_width,
144 static std::vector<float>
146 double sampling_freq,
148 double transition_width,
149 double attenuation_dB,
167 static std::vector<float>
169 double sampling_freq,
170 double low_cutoff_freq,
171 double high_cutoff_freq,
172 double transition_width,
192 static std::vector<float>
194 double sampling_freq,
195 double low_cutoff_freq,
196 double high_cutoff_freq,
197 double transition_width,
198 double attenuation_dB,
216 static std::vector<gr_complex>
218 double sampling_freq,
219 double low_cutoff_freq,
220 double high_cutoff_freq,
221 double transition_width,
241 static std::vector<gr_complex>
243 double sampling_freq,
244 double low_cutoff_freq,
245 double high_cutoff_freq,
246 double transition_width,
247 double attenuation_dB,
265 static std::vector<float>
267 double sampling_freq,
268 double low_cutoff_freq,
269 double high_cutoff_freq,
270 double transition_width,
290 static std::vector<float>
292 double sampling_freq,
293 double low_cutoff_freq,
294 double high_cutoff_freq,
295 double transition_width,
296 double attenuation_dB,
306 static std::vector<float>
hilbert(
unsigned int ntaps = 19,
307 win_type windowtype = WIN_RECTANGULAR,
319 static std::vector<float>
321 double sampling_freq,
340 static double bessi0(
double x);
341 static void sanity_check_1f(
double sampling_freq,
double f1,
double transition_width);
343 sanity_check_2f(
double sampling_freq,
double f1,
double f2,
double transition_width);
344 static void sanity_check_2f_c(
double sampling_freq,
347 double transition_width);
349 static int compute_ntaps(
double sampling_freq,
350 double transition_width,
354 static int compute_ntaps_windes(
double sampling_freq,
355 double transition_width,
356 double attenuation_dB);
Finite Impulse Response (FIR) filter design functions.
Definition firdes.h:41
static std::vector< float > low_pass(double gain, double sampling_freq, double cutoff_freq, double transition_width, win_type window=WIN_HAMMING, double beta=6.76)
Use "window method" to design a low-pass FIR filter. The normalized width of the transition band is w...
static std::vector< float > band_pass(double gain, double sampling_freq, double low_cutoff_freq, double high_cutoff_freq, double transition_width, win_type window=WIN_HAMMING, double beta=6.76)
Use "window method" to design a band-pass FIR filter. The normalized width of the transition band is ...
static std::vector< float > gaussian(double gain, double spb, double bt, int ntaps)
design a Gaussian filter
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, win_type window=WIN_HAMMING, double beta=6.76)
Use "window method" to design a band-reject FIR filter. The normalized width of the transition band a...
win_type
Definition firdes.h:45
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, win_type window=WIN_HAMMING, double beta=6.76)
Use "window method" to design a complex band-pass FIR filter. The normalized width of the transition ...
static std::vector< float > high_pass_2(double gain, double sampling_freq, double cutoff_freq, double transition_width, double attenuation_dB, win_type window=WIN_HAMMING, double beta=6.76)
Use "window method" to design a high-pass FIR filter. The normalized width of the transition band and...
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< gr_complex > complex_band_pass(double gain, double sampling_freq, double low_cutoff_freq, double high_cutoff_freq, double transition_width, win_type window=WIN_HAMMING, double beta=6.76)
Use the "window method" to design a complex band-pass FIR filter. The normalized width of the transit...
static std::vector< float > high_pass(double gain, double sampling_freq, double cutoff_freq, double transition_width, win_type window=WIN_HAMMING, double beta=6.76)
Use "window method" to design a high-pass FIR filter. The normalized width of the transition band is ...
static std::vector< float > hilbert(unsigned int ntaps=19, win_type windowtype=WIN_RECTANGULAR, double beta=6.76)
design a Hilbert Transform Filter
static std::vector< float > window(win_type type, int ntaps, double beta)
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, win_type window=WIN_HAMMING, double beta=6.76)
Use "window method" to design a band-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, win_type window=WIN_HAMMING, double beta=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, win_type window=WIN_HAMMING, double beta=6.76)
Use "window method" to design a band-reject FIR filter. The normalized width of the transition band i...
#define FILTER_API
Definition gr-filter/include/gnuradio/filter/api.h:30
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46