summaryrefslogtreecommitdiff
path: root/gr-fft
Commit message (Collapse)AuthorAgeFilesLines
* Move from SWIG to Pybind11Marcus Müller2020-06-1925-90/+1221
|\ | | | | | | | | | | Goodbye, and thanks for all the fish, SWIG. Please refer to docs/PYBIND11.md for details on how to deal with Pybind.
| * pybind: add hash check to binding file creation (#3472)mormj2020-06-049-9/+73
| |
| * fft: add pybind11 bindingsJosh Morman2020-06-0422-10/+1157
| |
| * pybind: removal of swig componentsJosh Morman2020-06-043-80/+0
| |
* | cppgen: Add C++ generation support to gr-fftHåkon Vågsether2020-06-114-0/+43
|/
* fft: added gaussian windowJacob Gilbert2020-04-262-0/+31
| | | | 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-262-0/+33
|
* gr-fft: replace stderr logging by calls to GR's logging faciltiesMarcus Müller2020-04-133-8/+26
|
* Remove VOLK as a submoduleMartin Braun2020-04-112-2/+1
| | | | | | | | | | | | | | This removes the volk/ submodule pointer and updates the CMake to detect VOLK like any other dependency. The VOLK_MIN_VERSION CMake variable is added (and set to 2.1.0). The GR_VOLK_LIB variable is replaced with Volk::volk everywhere. The VOLK_INSTALL_LIBRARY_DIR and VOLK_INSTALL_INCLUDE_DIR variables weren't used and were removed. CMake will now fail if VOLK cannot be detected. Therefore, ENABLE_VOLK was also removed as a variable; all in-tree components may assume the existence of VOLK.
* 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>`.
* fft: fixup Log Power ymldevnulling2020-01-271-1/+0
|
* Update license header to SPDX formatdevnulling2020-01-2734-441/+34
|
* gr-fft: Remove unused private variables.Ron Economos2020-01-264-14/+3
|
* fft: Add message to static_assertVasil Velichkov2020-01-241-3/+6
| | | | | | | | | | | | In c++11 the static_assert takes two parameters while in c++17 a version with only one parameter was added https://en.cppreference.com/w/cpp/language/static_assert Compilation on CentOS 7 with gcc 4.8.5 fails with gr-fft/lib/fft.cc:164:62: error: expected ',' before ')' token static_assert(sizeof(fftwf_complex) == sizeof(gr_complex));
* gr-fft: always true checkValerii Zapodovnikov2020-01-161-1/+1
|
* Fix all formatting issuesMartin Braun2020-01-101-3/+2
| | | | | This fixes every leftover file in the GNU Radio source tree to match our clang-format definition.
* gr-fft/fft: Fix comment typoThomas Habets2020-01-041-1/+1
|
* gr-fft/goertzel_fc: Remove needless destructorThomas Habets2020-01-042-7/+3
|
* gr-fft: Remove malloc_{float,double}Thomas Habets2020-01-042-18/+0
| | | | volk::vector<> is a better choice.
* gr-fft: Modernize fft codeThomas Habets2020-01-0411-122/+90
| | | | | | | | * 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
* Remove newlines from exception messagesThomas Habets2020-01-012-2/+2
|
* fft_shift: use unit test macros that exist in Boost 1.53Ryan Schutt2019-09-051-3/+21
| | | | | | gr-fft mixes in Boost 1.59 dependency, but we only guarantee 1.53 Addresses https://github.com/gnuradio/gnuradio/issues/2685
* fft: fix spelling of blakcman to blackman in docsNathan West2019-09-051-1/+1
|
* clang-tidy in gnuradio-runtime: use empty() instead of size()!=0Marcus Müller2019-08-222-4/+4
|
* Use emplace_back(params) instead of push_back(type(params))Marcus Müller2019-08-221-7/+7
| | | | | | | | | | | | | | | | | | | This is C++11: you can convert std::vector<complextype> vec; vec.push_back(complextype(foo, bar, baz)); by std::vector<complextype> vec; vec.emplace_back(foo, bar, baz); which saves one unnecessary copy. This mostly happened in rpc code. The automated clang-tidy check failed miserably, so most of this was done by hand.
* Fix for more misc typosluz.paz2019-08-102-2/+2
|
* clang-format: Ordering all the includesMarcus Müller2019-08-096-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0921-1752/+1674
|
* fft: Add fft_shift classChristoph Mayer2019-06-154-0/+160
| | | | | This is a generic FFT shift object. Includes C++ unit tests. The class is templated and thus works with FFTs of any type.
* cmake: Update to modern CMake usageAndrej Rode2019-03-043-77/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes using target based setting of includes and link libraries. This will transitively add the includes and linking flags to dependent targets. This is still a work in progress since only the dynamic libraries have been touched and not all of include_directories directives are gone yet. cmake: remove GR_INCLUDE_SUBDIRECTORY macro Previously this macro was used to inject subdirectories in the current CMake namespace. This is generally undesired and pollutes the current context. previously GNU Radio CMake had a non-default option ENABLE_STATIC_LIBS to build both, shared libraries and static libraries. This seems to be a construction taken over from autotools and serves no purpuose in CMake and complicates the library building. cmake: remove GR_LIBTOOL and la generation support This looks like it was primarily used to support projects using autotools, but comments state that the generated .la files aren't compatible with autotools anyway. cmake: Bump required CMake version to 3.8 UseSWIG cmake uses syntax which requires at least CMake 3.8 and is non-trivial to change
* cmake: Only go into grc/ subdirs when ENABLE_GRC=ONMartin Braun2018-12-171-1/+3
|
* 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
|
* fft: Fix GRC bindingsMartin Braun2018-11-231-4/+1
| | | | | | | - 'hide' attribute for fftshift was supposed to default to on for real mode. It now really does. - The actual FFT block doesn't have a vlen parameter, and it was causing havok in the GRC bindings. It's now removed.
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-3123-409/+251
|\
| * Cleaned up lots of blocksHåkon Vågsether2018-08-251-3/+8
| |
| * Merge branch 'next_python3' into nextMarcus Müller2018-06-2516-352/+229
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings Python3 to `next`. It also brings * a bump in SWIG dependency version * various GRC improvements, * YAML instead of XML in GRC * a lot of broken unit tests
| | * Merge branch 'python3_fix' into nextAndrej Rode2018-06-2416-352/+229
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manual merge conflict resolution has been applied to following conflicts: * Typos: * gnuradio-runtime/python/gnuradio/ctrlport/GrDataPlotter.py * gr-blocks/python/blocks/qa_wavfile.py * gr-filter/examples/gr_filtdes_api.py * grc/blocks/parameter.xml * gr-uhd/python/uhd/__init__.py * ValueError -> RuntimeError: * gr-blocks/python/blocks/qa_hier_block2.py * relative Imports & other Py3k: * gr-digital/python/digital/psk_constellations.py * gr-digital/python/digital/qam_constellations.py * gr-digital/python/digital/test_soft_decisions.py * gr-digital/python/digital/gfsk.py * SequenceCompleter: * gr-utils/python/modtool/modtool_add.py * gr-utils/python/modtool/modtool_rename.py * gr-utils/python/modtool/modtool_rm.py * Updated API on next: * gr-blocks/grc/blocks_file_source.xml * gr-blocks/python/blocks/qa_file_source_sink.py * gr-qtgui/grc/qtgui_time_sink_x.xml * GRC Py3k Updates: * grc/core/Block.py * grc/core/Constants.py * grc/core/Platform.py * grc/core/utils/odict.py * grc/gui/Actions.py * grc/gui/Block.py * grc/gui/Executor.py * grc/gui/Port.py
| | | * Added auto-generated YAML blocksHåkon Vågsether2017-10-1011-324/+192
| | | |
| | | * Merge branch 'next' into python3Johnathan Corgan2017-08-141-2/+2
| | | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: gr-fft/python/fft/logpwrfft.py
| | | * \ Merge branch 'next' into python3Johnathan Corgan2017-07-131-2/+2
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: CMakeLists.txt
| | | * \ \ Merge branch 'next' into python3Johnathan Corgan2017-06-271-1/+10
| | | |\ \ \
| | | * \ \ \ Merge branch 'next' into python3Johnathan Corgan2017-06-221-12/+16
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnuradio-runtime/python/gnuradio/gr/tag_utils.py
| | | * \ \ \ \ Merge branch 'next' into python3Johnathan Corgan2017-06-071-0/+32
| | | |\ \ \ \ \
| | | * \ \ \ \ \ Merge branch 'next' into python3Johnathan Corgan2017-03-221-1/+0
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: cmake/Modules/GrSwig.cmake
| | | * | | | | | | python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-265-28/+37
| | | | | | | | | |
| * | | | | | | | | Clean-up: Remove unused private variables (Issue #1621, #1622, #1624)andriy gelman2018-04-281-1/+1
| | | | | | | | | |
| * | | | | | | | | math: replace M_PI and derivatives with GR_M_PI definesAndrej Rode2018-02-172-12/+14
| |/ / / / / / / /
| * | | | | | | | Merge branch 'master' into nextMartin Braun2018-02-034-1/+1
| |\ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ | |/| | | | | | |