summaryrefslogtreecommitdiff
path: root/gr-fft/python/fft/logpwrfft.py
Commit message (Collapse)AuthorAgeFilesLines
* fft: pep8 formattingJosh Morman2021-11-241-20/+28
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* gr-fft: add "shift" param to logpwrfft blockJeff Long2021-08-231-3/+3
| | | | | | Contributed by Marcus Leech Signed-off-by: Jeff Long <willcode4@gmail.com>
* gr-fft: Log Power FFT Python fixJeff Long2021-01-161-2/+3
| | | | | | | Block would fail as soon as it was placed in GRC. A couple of imports/renames were needed. Signed-off-by: Jeff Long <willcode4@gmail.com>
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-2/+0
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* fft: add pybind11 bindingsJosh Morman2020-06-041-2/+2
|
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Merge branch 'next' into python3Johnathan Corgan2017-08-141-2/+2
|\ | | | | | | | | Conflicts: gr-fft/python/fft/logpwrfft.py
| * logpwrfft did `ref_scale/2`, which led to integer div in Py2Marcus Müller2017-08-141-2/+2
| | | | | | | | | | | | That is especially hurt as the GRC template puts defaults to `ref_scale=2` (int literal!) and if someone uses `1`, they'll get zero internally in logpwrfft, and that leads to errors.
* | python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-261-6/+7
|/
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-071-6/+6
| | | | 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).
* fft: fixed logpwrfft.py to import new C++ window properly from fft_swig ↵Tom Rondeau2013-11-101-1/+1
| | | | (fixes issue #609 reported by Sylvain Munaut).
* fft: Enabling uninstalled python imports.Ben Reynwar2013-03-071-0/+176