gnuradio.gr: Digital Filter Design

class gnuradio.gr.firdes

Finite Impulse Response (FIR) filter design functions.

static 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) → __dummy_4__

use “window method” to design a band-pass FIR filter

overall gain of filter (typically 1.0) sampling freq (Hz) center of transition band (Hz) center of transition band (Hz) width of transition band (Hz). The normalized width of the transition band is what sets the number of taps required. Narrow –> more taps What kind of window to use. Determines maximum attenuation and passband ripple. parameter for Kaiser window

static 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) → __dummy_4__

use “window method” to design a band-pass FIR filter

overall gain of filter (typically 1.0) sampling freq (Hz) center of transition band (Hz) center of transition band (Hz) width of transition band (Hz). out of band attenuation The normalized width of the transition band and the required stop band attenuation is what sets the number of taps required. Narrow –> more taps More attenuation –> more taps What kind of window to use. Determines maximum attenuation and passband ripple. parameter for Kaiser window

static 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) → __dummy_4__

use “window method” to design a band-reject FIR filter

overall gain of filter (typically 1.0) sampling freq (Hz) center of transition band (Hz) center of transition band (Hz) width of transition band (Hz). The normalized width of the transition band is what sets the number of taps required. Narrow –> more taps What kind of window to use. Determines maximum attenuation and passband ripple. parameter for Kaiser window

static 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) → __dummy_4__

use “window method” to design a band-reject FIR filter

overall gain of filter (typically 1.0) sampling freq (Hz) center of transition band (Hz) center of transition band (Hz) width of transition band (Hz). out of band attenuation The normalized width of the transition band and the required stop band attenuation is what sets the number of taps required. Narrow –> more taps More attenuation –> more taps What kind of window to use. Determines maximum attenuation and passband ripple. parameter for Kaiser window

static 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) → std::vector<(gr_complex,std::allocator<(gr_complex)>)>

use “window method” to design a complex band-pass FIR filter

overall gain of filter (typically 1.0) sampling freq (Hz) center of transition band (Hz) center of transition band (Hz) width of transition band (Hz). The normalized width of the transition band is what sets the number of taps required. Narrow –> more taps What kind of window to use. Determines maximum attenuation and passband ripple. parameter for Kaiser window

static 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) → std::vector<(gr_complex,std::allocator<(gr_complex)>)>

use “window method” to design a complex band-pass FIR filter

overall gain of filter (typically 1.0) sampling freq (Hz) center of transition band (Hz) center of transition band (Hz) width of transition band (Hz). out of band attenuation The normalized width of the transition band and the required stop band attenuation is what sets the number of taps required. Narrow –> more taps More attenuation –> more taps What kind of window to use. Determines maximum attenuation and passband ripple. parameter for Kaiser window

static gaussian(double gain, double spb, double bt, int ntaps) → __dummy_4__

design a Gaussian filter

overall gain of filter (typically 1.0) per bit: symbol rate, must be a factor of sample rate number of taps

static high_pass(double gain, double sampling_freq, double cutoff_freq, double transition_width, win_type window = WIN_HAMMING, double beta = 6.76) → __dummy_4__

use “window method” to design a high-pass FIR filter

overall gain of filter (typically 1.0) sampling freq (Hz) center of transition band (Hz) width of transition band (Hz). The normalized width of the transition band is what sets the number of taps required. Narrow –> more taps What kind of window to use. Determines maximum attenuation and passband ripple. parameter for Kaiser window

static 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) → __dummy_4__

use “window method” to design a high-pass FIR filter

overall gain of filter (typically 1.0) sampling freq (Hz) center of transition band (Hz) width of transition band (Hz). out of band attenuation The normalized width of the transition band and the required stop band attenuation is what sets the number of taps required. Narrow –> more taps More attenuation –> more taps What kind of window to use. Determines maximum attenuation and passband ripple. parameter for Kaiser window

static hilbert(unsigned int ntaps = 19, win_type windowtype = WIN_RECTANGULAR, double beta = 6.76) → __dummy_4__

design a Hilbert Transform Filter

Number of taps, must be odd What kind of window to use Only used for Kaiser

static low_pass(double gain, double sampling_freq, double cutoff_freq, double transition_width, win_type window = WIN_HAMMING, double beta = 6.76) → __dummy_4__

use “window method” to design a low-pass FIR filter

overall gain of filter (typically 1.0) sampling freq (Hz) center of transition band (Hz) width of transition band (Hz). The normalized width of the transition band is what sets the number of taps required. Narrow –> more taps What kind of window to use. Determines maximum attenuation and passband ripple. parameter for Kaiser window

static 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) → __dummy_4__

use “window method” to design a low-pass FIR filter

overall gain of filter (typically 1.0) sampling freq (Hz) center of transition band (Hz) width of transition band (Hz). required stopband attenuation The normalized width of the transition band and the required stop band attenuation is what sets the number of taps required. Narrow –> more taps More attenuatin –> more taps What kind of window to use. Determines maximum attenuation and passband ripple. parameter for Kaiser window

static root_raised_cosine(double gain, double sampling_freq, double symbol_rate, double alpha, int ntaps) → __dummy_4__

design a Root Cosine FIR Filter (do we need a window?)

overall gain of filter (typically 1.0) sampling freq (Hz) rate: symbol rate, must be a factor of sample rate excess bandwidth factor number of taps

thisown

The membership flag

static window(win_type type, int ntaps, double beta) → __dummy_4__
gnuradio.gr.remez(int order, __dummy_5__ bands, __dummy_5__ ampl, __dummy_5__ error_weight, string filter_type = "bandpass", int grid_density = 16) → __dummy_5__

Parks-McClellan FIR filter design.

Calculates the optimal (in the Chebyshev/minimax sense) FIR filter inpulse reponse given a set of band edges, the desired reponse on those bands, and the weight given to the error in those bands.

Frequency is in the range [0, 1], with 1 being the Nyquist frequency (Fs/2)

Previous topic

gnuradio.gr: Filters

Next topic

gnuradio.gr: Implementation Details

This Page