diff options
-rw-r--r-- | gr-fft/include/gnuradio/fft/window.h | 2 | ||||
-rw-r--r-- | gr-fft/python/fft/bindings/window_python.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-fft/include/gnuradio/fft/window.h b/gr-fft/include/gnuradio/fft/window.h index efb34fccf4..0ab333e175 100644 --- a/gr-fft/include/gnuradio/fft/window.h +++ b/gr-fft/include/gnuradio/fft/window.h @@ -332,7 +332,7 @@ public: * \param ntaps Number of coefficients in the window. * \param beta Used only for building Kaiser windows. */ - static std::vector<float> build(win_type type, int ntaps, double beta); + static std::vector<float> build(win_type type, int ntaps, double beta = 6.76); }; } /* namespace fft */ diff --git a/gr-fft/python/fft/bindings/window_python.cc b/gr-fft/python/fft/bindings/window_python.cc index ffde426cb0..51dd7200d1 100644 --- a/gr-fft/python/fft/bindings/window_python.cc +++ b/gr-fft/python/fft/bindings/window_python.cc @@ -175,7 +175,7 @@ void bind_window(py::module& m) &window::build, py::arg("type"), py::arg("ntaps"), - py::arg("beta"), + py::arg("beta") = 6.76, D(window, build)) ; |