double cutoff_freq, // Hz center of transition band
double transition_width, // Hz width of transition band
win_type window = WIN_HAMMING,
- double beta = 6.76) throw(std::out_of_range); // used only with Kaiser
+ double beta = 6.76 // used only with Kaiser
+ ) throw(std::out_of_range, std::runtime_error);
/*!
* \brief use "window method" to design a high-pass FIR filter
double cutoff_freq, // Hz center of transition band
double transition_width, // Hz width of transition band
win_type window = WIN_HAMMING,
- double beta = 6.76) throw(std::out_of_range); // used only with Kaiser
+ double beta = 6.76 // used only with Kaiser
+ ) throw(std::out_of_range, std::runtime_error);
/*!
* \brief use "window method" to design a band-pass FIR filter
double high_cutoff_freq, // Hz center of transition band
double transition_width, // Hz width of transition band
win_type window = WIN_HAMMING,
- double beta = 6.76) throw(std::out_of_range); // used only with Kaiser
+ double beta = 6.76 // used only with Kaiser
+ ) throw(std::out_of_range, std::runtime_error);
/*!
double low_cutoff_freq, // Hz center of transition band
double high_cutoff_freq, // Hz center of transition band
double transition_width, // Hz width of transition band
- win_type window = WIN_HAMMING,
- double beta = 6.76) throw(std::out_of_range); // used only with Kaiser
+ win_type window = WIN_HAMMING, // used only with Kaiser
+ double beta = 6.76
+ ) throw(std::out_of_range, std::runtime_error);
/*!
double low_cutoff_freq, // Hz center of transition band
double high_cutoff_freq, // Hz center of transition band
double transition_width, // Hz width of transition band
- win_type window = WIN_HAMMING,
- double beta = 6.76) throw(std::out_of_range); // used only with Kaiser
+ win_type window = WIN_HAMMING, // used only with Kaiser
+ double beta = 6.76
+ ) throw(std::out_of_range, std::runtime_error);
/*!\brief design a Hilbert Transform Filter
*
* \p beta: Only used for Kaiser
*/
static std::vector<float>
- hilbert (unsigned int ntaps,
+ hilbert (unsigned int ntaps = 19,
win_type windowtype = WIN_RECTANGULAR,
- double beta = 6.76) throw(std::out_of_range);
+ double beta = 6.76
+ ) throw(std::out_of_range, std::runtime_error);
/*!
* \brief design a Root Cosine FIR Filter (do we need a window?)
* Return window given type, ntaps and optional beta.
*/
static std::vector<float> gr_firdes::window (win_type type, int ntaps, double beta)
- throw(std::runtime_error);
+ throw(std::runtime_error, std::runtime_error);
};