11 #ifndef _FILTER_FIRDES_H_
12 #define _FILTER_FIRDES_H_
49 static std::vector<float>
53 double transition_width,
73 static std::vector<float>
77 double transition_width,
78 double attenuation_dB,
96 static std::vector<float>
100 double transition_width,
120 static std::vector<float>
122 double sampling_freq,
124 double transition_width,
125 double attenuation_dB,
144 static std::vector<float>
146 double sampling_freq,
147 double low_cutoff_freq,
148 double high_cutoff_freq,
149 double transition_width,
170 static std::vector<float>
172 double sampling_freq,
173 double low_cutoff_freq,
174 double high_cutoff_freq,
175 double transition_width,
176 double attenuation_dB,
196 double sampling_freq,
197 double low_cutoff_freq,
198 double high_cutoff_freq,
199 double transition_width,
222 double sampling_freq,
223 double low_cutoff_freq,
224 double high_cutoff_freq,
225 double transition_width,
226 double attenuation_dB,
247 double sampling_freq,
248 double low_cutoff_freq,
249 double high_cutoff_freq,
250 double transition_width,
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>
298 double sampling_freq,
299 double low_cutoff_freq,
300 double high_cutoff_freq,
301 double transition_width,
322 static std::vector<float>
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>
353 static std::vector<float>
355 double sampling_freq,
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);
win_type
Definition: window.h:25
Finite Impulse Response (FIR) filter design functions.
Definition: firdes.h:29
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 beta=6.76)
Use the "window method" to design a complex band-pass FIR filter. The normalized width of the transit...
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 beta=6.76)
Use "window method" to design a complex band-reject FIR filter. The normalized width of the transitio...
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 beta=6.76)
Use "window method" to design a complex band-pass FIR filter. The normalized width of the transition ...
static std::vector< float > hilbert(unsigned int ntaps=19, fft::window::win_type windowtype=fft::window::win_type::WIN_RECTANGULAR, double beta=6.76)
design a Hilbert Transform 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, fft::window::win_type window=fft::window::win_type::WIN_HAMMING, double beta=6.76)
Use "window method" to design a band-reject FIR filter. The normalized width of the transition band a...
static std::vector< float > window(fft::window::win_type type, int ntaps, double beta)
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 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_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 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 > 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 beta=6.76)
Use "window method" to design a band-reject FIR filter. The normalized width of the transition band i...
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 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 > gaussian(double gain, double spb, double bt, int ntaps)
design a Gaussian filter
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 beta=6.76)
Use the "window method" to design a complex band-reject FIR filter. The normalized width of the trans...
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 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 > 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 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_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 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 > 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?)
#define FILTER_API
Definition: gr-filter/include/gnuradio/filter/api.h:18
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:29