summaryrefslogtreecommitdiff
path: root/gr-fft/python/fft/bindings/python_bindings.cc
diff options
context:
space:
mode:
authormormj <34754695+mormj@users.noreply.github.com>2020-11-03 16:51:44 -0500
committerGitHub <noreply@github.com>2020-11-03 16:51:44 -0500
commited95e8d45cfc6cd3e026298dadf4d2e8f9f1c3b8 (patch)
treea15c82b2a2c2baa623434ad2c3a4c51416002082 /gr-fft/python/fft/bindings/python_bindings.cc
parent0f780e26d6545338b6c4a1b34405822a9a6ec706 (diff)
Move FFT functions and blocks to templates (#3903)
* fft: refactor fft classes as templates In order to reduce code duplication construct fft objects and blocks with template paramters. Separate forward and reverse as a template parameter Maintain the real fft block forward as r2c and reverse as r2c as well Co-authored-by: Andrej Rode <mail@andrejro.de>
Diffstat (limited to 'gr-fft/python/fft/bindings/python_bindings.cc')
-rw-r--r--gr-fft/python/fft/bindings/python_bindings.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/gr-fft/python/fft/bindings/python_bindings.cc b/gr-fft/python/fft/bindings/python_bindings.cc
index a1c191ed3d..ea94cd7b8e 100644
--- a/gr-fft/python/fft/bindings/python_bindings.cc
+++ b/gr-fft/python/fft/bindings/python_bindings.cc
@@ -16,10 +16,8 @@
namespace py = pybind11;
// void bind_ctrlport_probe_psd(py::module&);
-void bind_fft(py::module&);
void bind_fft_shift(py::module&);
-void bind_fft_vcc(py::module&);
-void bind_fft_vfc(py::module&);
+void bind_fft_v(py::module&);
void bind_goertzel(py::module&);
void bind_goertzel_fc(py::module&);
void bind_window(py::module&);
@@ -44,10 +42,8 @@ PYBIND11_MODULE(fft_python, m)
py::module::import("gnuradio.gr");
// bind_ctrlport_probe_psd(m);
- bind_fft(m);
bind_fft_shift(m);
- bind_fft_vcc(m);
- bind_fft_vfc(m);
+ bind_fft_v(m);
bind_goertzel(m);
bind_goertzel_fc(m);
bind_window(m);