summaryrefslogtreecommitdiff
path: root/gr-filter/examples
Commit message (Collapse)AuthorAgeFilesLines
* filter: pep8 formattingJosh Morman2021-11-2415-240/+277
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* gr-filter: Corrects reconstruction filter bank example to point at existing ↵Nicholas Bruce2021-11-151-1/+1
| | | | | | psk block Signed-off-by: Nicholas Bruce <saltair93+github@gmail.com>
* qtgui: Replace pyqwidget() with qwidget()David Winter2021-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Previously, two versions of the `qtwidget` functions existed, `qwidget()` and `pyqwidget()`, with the only difference being that `qwidget()` returned a pointer to the `QWidget` object managed by the corresponding block, while `pyqwidget()` returned that same pointer, but as an integer (Or `PyLong` in this case). While `qwidget()` is used by C++ code accessing the widgets, `pyqwidget()` is only used for the python interface. This makes these two methods redundant, thus this commit entirely removes `pyqwidget()`, and modifies the `qwidget()` python wrapper to behave like `pyqwidget()`. Note that we can be fairly confident that this change will not effect potential users of `qwidget()`, because any invocation on the objects previously returned by `qwidget()` would cause a segmentation fault. This commit also fixes a memory leak: Internally, the `pyqwidget()` functions were returning a PyLong `PyObject *`, which was then upwrapped in a pybind trampoline without decrementing the reference count of that python object. Signed-off-by: David Winter <david.winter@analog.com>
* filter: update python binding hashesJosh Morman2020-12-186-7/+13
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* replace fft.window.WIN_ with window.win_ and include in grc default importJosh Morman2020-12-185-13/+13
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* global replace of firdes.WIN_ with fft.window.WIN_Josh Morman2020-12-185-13/+13
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* more qt4 qt5 updatesA. Maitland Bottoms2020-12-183-8/+8
| | | | Have additional apps, examples, and tools use Qt5 instead of Qt4.
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-0316-43/+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
* gr-filter: Add ichar/ishort decimatorghostop142020-02-201-0/+299
| | | | | | | | | Current resamplers do not support ichar and ishort as an input type. When processing streaming ichar data from external sources (such as the ATA), decimation in native ichar would be faster than converting to another data type then decimating. This block provides the ability to decimate the ichar stream directly. Support was also added to support ishort data in the same manner.
* Update license header to SPDX formatdevnulling2020-01-2717-221/+17
|
* examples: fixup filter_tap_loader with subprocess path trickdevnulling2020-01-221-2/+14
|
* examples: fixup cmake files to include all examplesdevnulling2020-01-221-4/+4
|
* examples: fixup filters cmake and polyphase channelizer demodevnulling2020-01-202-17/+97
|
* filter: fix issues with filter taps loaderJosh Morman2020-01-062-11/+217
| | | | | | Continuing the work previously done on the loader but polishing a few remaining items in the yml Adds an example as well
* filter: Add file taps loader blockMaximilian Stiefel2020-01-061-0/+11
| | | | | This is a block that allows loading filter taps from a file (from the filter design tool).
* gitignore: ignore autogen files in example foldersJohannes Demel2019-03-241-0/+1
| | | | | This commit adds `.gitignore` files to some example folders. This helps to keep auto generated files out of commits.
* filter: Convert GRC examples to YAML formatJohannes Demel2019-01-153-4084/+1166
| | | | | | | | This commit converts the examples in `gr-filter` to the new YAML format. This conversion is tracked in #2285. Also, in order to make all examples work, the YAML block definition for the *band_pass_filter_taps* is updated.
* Replace scipy/pylab where numpy/pyplot is sufficientMarcus Müller2018-11-0211-174/+115
| | | | | | | | | This should reduce the number of times users are prompted to install pylab || scipy when they'd actually get away with functionality fully contained in numpy and matplotlib. This only solves the obvious cases. There's some usage of `pylab.mlab` that would need more than 20s of consideration.
* Merge branch 'python3_fix' into nextAndrej Rode2018-06-2416-120/+163
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-2616-120/+163
| |
* | Merge branch 'master' into nextMartin Braun2018-02-031-1/+1
|\ \ | |/ |/|
| * Comment typo fixing.luz.paz2018-02-031-1/+1
| | | | | | | | Luzpaz went ahead and found typos using `codespell -q 3`.
* | filter: replace OptionParser by ArgumentParser for gr-utils and gr-qtguiJiří Pinkava2016-08-061-20/+12
| |
* | cmake: nuke cpack from existenceJohnathan Corgan2016-08-031-2/+0
| | | | | | | | | | | | CPack is not used, unmaintaned, and broken. This does not eliminate any MSVC build functionality.
* | Merge remote-tracking branch 'pinkavaj/argparse-filter-01' into nextJohnathan Corgan2016-08-013-78/+78
|\ \ | |/ |/|
| * filter: fir_filter_fff.py replace OptionParser by ArgumentParserJiří Pinkava2016-06-291-25/+25
| |
| * filter: fir_filter_ccc.py - replace OptionParser by ArgumentParserJiří Pinkava2016-06-291-25/+25
| |
| * filter: fft_filter_ccc - replace OptionParser by ArgumentParserJiří Pinkava2016-06-291-28/+28
| |
* | Merge branch 'maint'Johnathan Corgan2016-07-011-1/+1
|\ \ | |/ |/|
| * filter: add missing import of filterJiří Pinkava2016-06-291-1/+1
| |
* | gr-analog: Add safety and default for FM preemphasis filterAndy Walls2016-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The FM preemphasis filter design now precludes the user from inducing a pole on the unit circle at z = -1.0 and z = 1.0. A pole at either of these locations makes the filter unstable and useless: feeding back "+/-inf" into an IIR filter has no good recovery. Also provide a reasonable, maximally safe default of 0.925*fs/2.0 for the high frequency corner, fh. This keeps the slope of the preemphasis filter looking reasonable sane in the whole band; at least for tau=75e-6 and fs=48000.
* | gr-analog: Fix FM preemphasis filter and rework deemphasis filterAndy Walls2016-03-291-1/+1
|/ | | | | | | Add working filters designs for the FM preemphasis Tx filter. Rework the FM deemphasis Rx filter as it was easier to rederive the transfer function, than to determine if the one in use was correct.
* examples: removed extra titles or legends from QTGUI blocks in examples.Tom Rondeau2015-08-052-812/+1254
| | | | | They just take up space and provide no info. Where used to differentiate graphs or lines, they are kept in.
* filter: added filter_taps.grc exampleJohnathan Corgan2015-04-082-0/+1300
|
* examples: minor tweaks to some examples.Tom Rondeau2014-07-121-89/+372
|
* examples: Ported examples in GNU Radio tree to QT.Martin Braun2014-07-121-211/+360
|
* Merge branch 'maint'Tom Rondeau2014-07-076-8/+8
|\
| * Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-076-8/+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).
* | qtgui: changed all examples to start wtih empty name fields.Tom Rondeau2014-07-021-4/+4
|/ | | | Don't want to have QT GUI Plot show up for every plot now.
* filter: Adding grc files and example for hierarchical pfb channelizer and ↵Ben Reynwar2014-03-271-0/+1265
| | | | generic filterbank.
* filters: fixing up some minor issues with the analysis/synthesis filterbanks.Tom Rondeau2014-02-281-3/+3
| | | | Also adds bus ports capabilities to these filterbanks. Using the GRP properties box, the vector for the bus ports can be set up to group and redirect each channel as necessary.
* filter: fixed missing copyright and import sys in examplesTom Rondeau2013-11-174-0/+64
|
* blocks: removing vco_f from core; now in gr-blocks.Tom Rondeau2013-03-181-1/+1
| | | | This cleans up the last revert where we want to keep the vco/nco primitives in core but actualy gr_blocks are not.
* Revert "blocks: removed all nco/vco and fxpt stuff from core; now in gr-blocks."Tom Rondeau2013-03-181-1/+1
| | | | | | | | | | This reverts commit fe70fa72ea22a133874337da2d03d30611e5ab1c. Conflicts: gnuradio-core/src/lib/general/CMakeLists.txt gnuradio-core/src/lib/general/general.i gnuradio-core/src/tests/CMakeLists.txt
* cleaning up, converting examples, etc.Tom Rondeau2013-03-171-2/+2
|
* blocks: converting references to vector source/sink, null source/sink, nop, ↵Tom Rondeau2013-03-1712-48/+55
| | | | copy, head, skiphead, vector_map, and annotator blocks to use gr-blocks.
* blocks: removed all nco/vco and fxpt stuff from core; now in gr-blocks.Tom Rondeau2013-03-081-1/+1
| | | | Moved the nco/vco tests to gr-blocks/test and enabled them.
* core: cleaning up remez and firdes in gnuradio-core; now in gr-filter.Tom Rondeau2013-03-061-1/+1
|
* core: removing goertzel and fft implementations from core; see gr-fft.Tom Rondeau2013-03-061-0/+75
| | | | Also cleaning up some other leftovers.
* blocks: removing throttle, threshold, stretch from gnuradio-core.Tom Rondeau2013-02-242-33/+34
|