From ed95e8d45cfc6cd3e026298dadf4d2e8f9f1c3b8 Mon Sep 17 00:00:00 2001
From: mormj <34754695+mormj@users.noreply.github.com>
Date: Tue, 3 Nov 2020 16:51:44 -0500
Subject: 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>
---
 gr-fft/python/fft/bindings/python_bindings.cc | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

(limited to 'gr-fft/python/fft/bindings/python_bindings.cc')

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);
-- 
cgit v1.2.3