| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
These have been deprecated for over 6 years
Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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: 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>
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 is slated to replace firdes::window, we add the missing
WIN_NONE for consistency between the two.
|
|
|
|
| |
and updated the docs for gaussian and tukey windows
|
|
|
|
| |
a note about differences between other popular flat top window generators
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>`.
|
| |
|
| |
|
| |
|
|
|
|
| |
volk::vector<> is a better choice.
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
This is a generic FFT shift object. Includes C++ unit tests.
The class is templated and thus works with FFTs of any type.
|
|
|
|
| |
fft_vfc does not have a 'shifted' parameter as stated in the Doxygen.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| | |
CPack is not used, unmaintaned, and broken.
This does not eliminate any MSVC build functionality.
|
|/
|
|
| |
Fixes #1694
|
| |
|
|
|
|
| |
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.
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Sylvain Munaut).
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|