summaryrefslogtreecommitdiff
path: root/gr-fft/python/fft/bindings/window_python.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix typosluz paz2021-02-081-1/+1
| | | | | | | | Found via `codespell v2.1.dev0` `codespell -q 3 -L ans,fo,hist,inout,ist,ith,nd,sinc,uint -S ./volk` Signed-off-by: luz paz <luzpaz@users.noreply.github.com> Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* gr-fft: window cleanup - remove nuttal (sic) windowsJacob Gilbert2021-01-251-14/+1
| | | | | | These have been deprecated for over 6 years Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
* gr-fft: cleanup window related codeJacob Gilbert2021-01-251-20/+31
| | | | | | Updates some documentation, and adds bindings for tukey and gaussian windows which had not been included when they were added Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
* gr-fft: adding additional window options to win_type enumJacob Gilbert2021-01-251-13/+23
| | | | | | Adding Nuttall, Welch, Parzen, Exponential, Riemann, Gaussian, and Tukey window options to the win_type enum for use with the various filter design functions Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
* fft: populate window enums under fft.windowJosh Morman2020-12-171-16/+14
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* pybind: add implicit conversion from int to enummormj2020-10-281-0/+2
| | | | | | | | | | | | | * dtv: add implicit conversion from int to enum * analog: add implicit conversion from int to enum * blocks: add implicit conversion from int to enum * digital: add implicit conversion from int to enum * fec: add implicit conversion from int to enum * fft: add implicit conversion from int to enum * filter: add implicit conversion from int to enum * qtgui: add implicit conversion from int to enum * trellis: add implicit conversion from int to enum * vocoder: add implicit conversion from int to enum * bindtool: add implicitly_convertible to all enums
* fft: window: Allow normalizing windowsMartin Braun2020-08-141-2/+3
| | | | | | | | In some applications, it is useful to generate windows that have unit power. The boxcar window (rectangle) is always of unit power, but the other windows are not, leading to apple-to-oranges comparisons, e.g., when switching between window types in a live spectrum estimation application.
* fft: window: Provide default value for beta param on window::buildMartin Braun2020-08-141-1/+1
| | | | | | | | | | | | The API call fft::window::build() takes a third parameter, beta, that only applies for the Kaiser window. For other windows, it is necessary to provide a dummy value to call this function. The declared-deprecated version firdes::window() on the other hand does not require specifying beta when not needed. Instead, we provide a default value of 6.76 which will still generate a valid (and generally useful) Kaiser window, but means we don't have to specify beta for other windows.
* fft: window: Add WIN_NONEMartin Braun2020-08-141-1/+1
| | | | | fft::window is slated to replace firdes::window, we add the missing WIN_NONE for consistency between the two.
* pybind: add hash check to binding file creation (#3472)mormj2020-06-041-1/+9
|
* fft: add pybind11 bindingsJosh Morman2020-06-041-0/+187