summaryrefslogtreecommitdiff
path: root/gr-fft/include/gnuradio/fft
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-15/+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-8/+27
| | | | | | 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-15/+41
| | | | | | 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>
* Move FFT functions and blocks to templates (#3903)mormj2020-11-034-184/+44
| | | | | | | | | | | | | * 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>
* fft&filter: Remove malloc_complex/freeThomas Habets2020-09-081-11/+0
|
* fft: window: Allow normalizing windowsMartin Braun2020-08-141-1/+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-0/+1
| | | | | fft::window is slated to replace firdes::window, we add the missing WIN_NONE for consistency between the two.
* fft: added gaussian windowJacob Gilbert2020-04-261-0/+15
| | | | and updated the docs for gaussian and tukey windows
* gr-fft: added documentation for flat top window designJacob Gilbert2020-04-261-2/+13
| | | | a note about differences between other popular flat top window generators
* gr-fft: added tukey window generationJacob Gilbert2020-04-261-0/+10
|
* gr-fft: replace stderr logging by calls to GR's logging faciltiesMarcus Müller2020-04-131-0/+7
|
* Switch from boost pointers to std C++11 pointersThomas Habets2020-04-014-4/+4
| | | | | | | | | | | | | | | | | | | Most of this code is automated code changes: ``` set -e SUB="s/dummy/dummy/" for i in shared_ptr make_shared dynamic_pointer_cast weak_ptr enable_shared_from_this get_deleter; do SUB="$SUB;s/boost::$i/std::$i/g" done SUB="$SUB;s^#include <boost/shared_ptr.hpp>^#include <memory>^g" SUB="$SUB;s^namespace boost^namespace std^g" find . \( -name "*.cc" -o -name "*.h" -o -name "*.i" -o -name "*.cxx" -o -name "*.py" \) -print0 | xargs -0 sed -i "$SUB" ``` Only one manual change. In `./gr-fec/lib/fec_mtrx_impl.cc`, add `#include <algorithm>`.
* Update license header to SPDX formatdevnulling2020-01-2710-130/+10
|
* gr-fft: Remove unused private variables.Ron Economos2020-01-261-3/+0
|
* gr-fft/fft: Fix comment typoThomas Habets2020-01-041-1/+1
|
* gr-fft: Remove malloc_{float,double}Thomas Habets2020-01-041-8/+0
| | | | volk::vector<> is a better choice.
* gr-fft: Modernize fft codeThomas Habets2020-01-043-24/+36
| | | | | | | | * Add const where possible * Disable copy assignment and copy constructor where not safe (for now) to copy * Manual memory management -> smart pointers and vectors * De-pointerify where possible * assert -> static_assert
* fft: fix spelling of blakcman to blackman in docsNathan West2019-09-051-1/+1
|
* Fix for more misc typosluz.paz2019-08-102-2/+2
|
* clang-format: Ordering all the includesMarcus Müller2019-08-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-format: ordering includes in gnuradio-runtime clang-format: ordering includes in gr-filter clang-format: ordering includes in gr-fft clang-format: ordering includes in gr-audio clang-format: ordering includes in gr-analog clang-format: ordering includes in gr-fec clang-format: ordering includes in gr-wavelet clang-format: ordering includes in gr-zeromq clang-format: ordering includes in gr-vocoder clang-format: ordering includes in gr-video-sdl clang-format: ordering includes in gr-trellis clang-format: ordering includes in gr-blocks clang-format: ordering includes in gr-digital clang-format: ordering includes in gr-uhd clang-format: ordering includes in gr-dtv clang-format: ordering includes in gr-channels clang-format: ordering includes in gr-qtgui clang_format.py: re-enable include reordering
* Tree: clang-format without the include sortingMarcus Müller2019-08-099-620/+628
|
* fft: Add fft_shift classChristoph Mayer2019-06-152-0/+83
| | | | | This is a generic FFT shift object. Includes C++ unit tests. The class is templated and thus works with FFTs of any type.
* fft: Fix Doxygen warningMartin Braun2018-12-141-1/+0
| | | | fft_vfc does not have a 'shifted' parameter as stated in the Doxygen.
* fft: Fix Doxygen warnings (undocumented parameters)Martin Braun2018-12-121-1/+1
|
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-311-3/+0
|\
| * cmake: nuke cpack from existenceJohnathan Corgan2016-08-031-3/+0
| | | | | | | | | | | | CPack is not used, unmaintaned, and broken. This does not eliminate any MSVC build functionality.
* | Improved documentation for FFT block.Maximilian Stiefel2018-04-282-5/+64
|/ | | | Fixes #1694
* Tabs -> spacesDoug Geiger2015-09-172-15/+15
|
* fft: fixed Nuttall window naming from nuttal to nuttall.Tom Rondeau2014-11-241-4/+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-076-28/+28
| | | | 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-10/+32
| | | | | | 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: put include protections around window.h (fixes issue #610 reported by ↵Tom Rondeau2013-11-101-0/+5
| | | | Sylvain Munaut).
* fft: Moved all window building functions into C++.Tom Rondeau2013-11-052-0/+271
| | | | | | | | | | | | 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
* goertzel.h : Remove the default constructor for fft::goertzel.Philip Balister2013-07-091-1/+0
| | | | | | | | | | | The default constructor does not properly initialize the class variables. This leads to the possibilty of undefined behavior if the class is used carelessly. Instead force the user to do the right thing at compile time. The patch also fixes the in-tree user of this class. Signed-off-by: Philip Balister <philip@opensdr.com>
* fft: adding ctrlport psd probe blockTim O'Shea2013-05-302-0/+74
|
* fft: moved include dir to gnuradio/fftJohnathan Corgan2013-04-297-0/+500