summaryrefslogtreecommitdiff
path: root/gr-fft/lib/window.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-7/+0
| | | | | | 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-13/+6
| | | | | | 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-5/+48
| | | | | | 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: window: Allow normalizing windowsMartin Braun2020-08-141-1/+22
| | | | | | | | 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: added gaussian windowJacob Gilbert2020-04-261-0/+16
| | | | and updated the docs for gaussian and tukey windows
* gr-fft: added tukey window generationJacob Gilbert2020-04-261-0/+23
|
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-322/+298
|
* math: replace M_PI and derivatives with GR_M_PI definesAndrej Rode2018-02-171-9/+10
|
* Fix: hazardous floating point sqrt(1.0 - (1.0+-epsilon)²)Marcus Müller2017-06-271-1/+10
| | | | | | | | https://github.com/gnuradio/gnuradio/issues/1348 sqrt(x<0) yields NaN; to avoid a situation where a variable would be close to, but not necessarily exactly +-1, extracted the relevant floating point corner cases from the loop.
* fft: fixed Nuttall window naming from nuttal to nuttall.Tom Rondeau2014-11-241-1/+19
| | | | The old calls to nuttal are still there to preserve the API but they just point to the nuttall versions and their docs have been updated to indicate these calls are deprecated. Will be removed in 3.8.
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-071-3/+3
| | | | We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
* filter: remove use of magic numbers for calculating number of taps in firdes ↵Tom Rondeau2013-11-181-1/+18
| | | | | | filters. New way uses known max attenuation values for the windows to estimate the number of taps used in a filter. This produces smaller filters but needed QA code with pre-defined values updated.
* fft: optimization; bug fixes for kaiser window and added windows to win_type.Tom Rondeau2013-11-181-4/+6
| | | | filter: fixed width_factor to include new window types and add protection around array.
* fft: Moved all window building functions into C++.Tom Rondeau2013-11-051-0/+333
Remove window.py. All windows built using C++ functions. Exported into Python in same module (from gnuradio.fft import window). Removed all window building work in firdes, too. firdes.window now makes a direct call to fft.window.build with same parameters. Added documentation for window functions, including references to where to find coefficients and equations for (most of) the windows. All changes should not affect existing code. f