aboutsummaryrefslogtreecommitdiffstats
path: root/gr-filter
diff options
context:
space:
mode:
authorRon Economos <w6rz@comcast.net>2020-11-08 03:33:22 -0800
committermormj <34754695+mormj@users.noreply.github.com>2020-12-17 08:33:21 -0500
commit4f3b31a3700b02baf35e5eb95485e6a64933f6b7 (patch)
treeef320973bbd25b1139c42ac1ed1e3c9cd80b0d35 /gr-filter
parentmodtool: Change handled exception to ModuleNotFoundError (diff)
downloadgnuradio-4f3b31a3700b02baf35e5eb95485e6a64933f6b7.tar.xz
gnuradio-4f3b31a3700b02baf35e5eb95485e6a64933f6b7.zip
gr-filter: Remove unused parameter in polyphase_filterbank.
Diffstat (limited to 'gr-filter')
-rw-r--r--gr-filter/include/gnuradio/filter/polyphase_filterbank.h4
-rw-r--r--gr-filter/lib/polyphase_filterbank.cc3
-rw-r--r--gr-filter/python/filter/bindings/polyphase_filterbank_python.cc7
3 files changed, 4 insertions, 10 deletions
diff --git a/gr-filter/include/gnuradio/filter/polyphase_filterbank.h b/gr-filter/include/gnuradio/filter/polyphase_filterbank.h
index 90e97ea8a..64d315995 100644
--- a/gr-filter/include/gnuradio/filter/polyphase_filterbank.h
+++ b/gr-filter/include/gnuradio/filter/polyphase_filterbank.h
@@ -104,9 +104,7 @@ public:
* \param taps (vector/list of floats) The prototype filter to
* populate the filterbank.
*/
- polyphase_filterbank(unsigned int nfilts,
- const std::vector<float>& taps,
- bool fft_forward = false);
+ polyphase_filterbank(unsigned int nfilts, const std::vector<float>& taps);
/*!
* Update the filterbank's filter taps from a prototype
diff --git a/gr-filter/lib/polyphase_filterbank.cc b/gr-filter/lib/polyphase_filterbank.cc
index eea8d6cac..e0fcfda99 100644
--- a/gr-filter/lib/polyphase_filterbank.cc
+++ b/gr-filter/lib/polyphase_filterbank.cc
@@ -19,8 +19,7 @@ namespace gr {
namespace filter {
namespace kernel {
polyphase_filterbank::polyphase_filterbank(unsigned int nfilts,
- const std::vector<float>& taps,
- bool fft_forward)
+ const std::vector<float>& taps)
: d_nfilts(nfilts)
{
d_fir_filters.reserve(d_nfilts);
diff --git a/gr-filter/python/filter/bindings/polyphase_filterbank_python.cc b/gr-filter/python/filter/bindings/polyphase_filterbank_python.cc
index 60278e934..383476bbc 100644
--- a/gr-filter/python/filter/bindings/polyphase_filterbank_python.cc
+++ b/gr-filter/python/filter/bindings/polyphase_filterbank_python.cc
@@ -14,7 +14,7 @@
/* BINDTOOL_GEN_AUTOMATIC(0) */
/* BINDTOOL_USE_PYGCCXML(0) */
/* BINDTOOL_HEADER_FILE(polyphase_filterbank.h) */
-/* BINDTOOL_HEADER_FILE_HASH(74cd61e5d733f0b33073025d04d5e48e) */
+/* BINDTOOL_HEADER_FILE_HASH(00757cfefaac6f0906e8e0643ae0213c) */
/***********************************************************************************/
#include <pybind11/complex.h>
@@ -39,12 +39,9 @@ void bind_polyphase_filterbank(py::module& m)
py::class_<polyphase_filterbank, std::shared_ptr<polyphase_filterbank>>(
m_kernel, "polyphase_filterbank", D(kernel, polyphase_filterbank))
- .def(py::init<unsigned int,
- std::vector<float, std::allocator<float>> const&,
- bool>(),
+ .def(py::init<unsigned int, std::vector<float, std::allocator<float>> const&>(),
py::arg("nfilts"),
py::arg("taps"),
- py::arg("fft_forward") = false,
D(kernel, polyphase_filterbank, polyphase_filterbank, 0))