[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r5552 - gnuradio/trunk/gnuradio-core/src/lib/general
From: |
jcorgan |
Subject: |
[Commit-gnuradio] r5552 - gnuradio/trunk/gnuradio-core/src/lib/general |
Date: |
Mon, 28 May 2007 10:46:12 -0600 (MDT) |
Author: jcorgan
Date: 2007-05-28 10:46:12 -0600 (Mon, 28 May 2007)
New Revision: 5552
Modified:
gnuradio/trunk/gnuradio-core/src/lib/general/gr_firdes.i
Log:
Trial fix for ticket:153
Modified: gnuradio/trunk/gnuradio-core/src/lib/general/gr_firdes.i
===================================================================
--- gnuradio/trunk/gnuradio-core/src/lib/general/gr_firdes.i 2007-05-28
15:57:05 UTC (rev 5551)
+++ gnuradio/trunk/gnuradio-core/src/lib/general/gr_firdes.i 2007-05-28
16:46:12 UTC (rev 5552)
@@ -39,7 +39,7 @@
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); // used only with Kaiser
+ double beta = 6.76) throw(std::out_of_range); // used only with
Kaiser
/*!
* \brief use "window method" to design a high-pass FIR filter
@@ -61,7 +61,7 @@
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); // used only with Kaiser
+ double beta = 6.76) throw(std::out_of_range); // used only with
Kaiser
/*!
* \brief use "window method" to design a band-pass FIR filter
@@ -85,7 +85,7 @@
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); // used only with Kaiser
+ double beta = 6.76) throw(std::out_of_range); // used only with
Kaiser
/*!
@@ -111,7 +111,7 @@
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); // used only with Kaiser
+ double beta = 6.76) throw(std::out_of_range); // used only with
Kaiser
/*!
@@ -137,7 +137,7 @@
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); // used only with Kaiser
+ double beta = 6.76) throw(std::out_of_range); // used only with
Kaiser
/*!\brief design a Hilbert Transform Filter
*
@@ -148,7 +148,7 @@
static std::vector<float>
hilbert (unsigned int ntaps,
win_type windowtype = WIN_RECTANGULAR,
- double beta = 6.76);
+ double beta = 6.76) throw(std::out_of_range);
/*!
* \brief design a Root Cosine FIR Filter (do we need a window?)
@@ -164,7 +164,7 @@
double sampling_freq,
double symbol_rate, // Symbol rate, NOT bitrate
(unless BPSK)
double alpha, // Excess Bandwidth Factor
- int ntaps);
+ int ntaps) throw(std::out_of_range);
/*!
* \brief design a Gaussian filter
@@ -178,10 +178,11 @@
gaussian (double gain,
double spb,
double bt, // Bandwidth to bitrate ratio
- int ntaps);
+ int ntaps) throw(std::out_of_range);
/*!
* Return window given type, ntaps and optional beta.
*/
- static std::vector<float> gr_firdes::window (win_type type, int ntaps,
double beta);
+ static std::vector<float> gr_firdes::window (win_type type, int ntaps,
double beta)
+ throw(std::runtime_error);
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r5552 - gnuradio/trunk/gnuradio-core/src/lib/general,
jcorgan <=