summaryrefslogtreecommitdiff
path: root/gr-trellis/python
Commit message (Collapse)AuthorAgeFilesLines
* cmake: change how test files are build when cross compilingPhilip Balister2021-12-031-0/+3
| | | | | | | | | | | | | | | | | | | | * When cross compiling gnuradio, change how the test files are built. Normally, the gnuradio QA code expects to run in the build tree. For the cross compilng case, we cannot run the QA code during the build process. The changes here allow the creation of an additional package that can be installed on a target that will run the QA code against the installed libraries. Major changes are not using full paths to test files (since they include paths that only exist on the build machine) and not setting environment variables in the shell files to force the QA code to use code in the build tree. This patch disables the C++ only tests, these need some work and then they can be added back for the cross compile case. Signed-off-by: Philip Balister <philip@balister.org>
* trellis: pep8 formattingJosh Morman2021-11-241-85/+84
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* trellis: added missing include for string headerJosh Blum2021-01-111-1/+1
| | | | | | fsm.h uses std::string Signed-off-by: Josh Blum <josh@joshknows.com>
* qa: run autopep8 formatting on qa python filesmormj2020-10-301-21/+31
| | | | | | find ./ -iname qa*.py | xargs autopep8 --in-place -a -a mostly formats whitespace and gets rid of trailing semicolons
* qa: remove xml file parameter causing deprecation warningsmormj2020-10-301-1/+1
|
* pybind: add implicit conversion from int to enummormj2020-10-281-2/+2
| | | | | | | | | | | | | * dtv: add implicit conversion from int to enum * analog: add implicit conversion from int to enum * blocks: add implicit conversion from int to enum * digital: add implicit conversion from int to enum * fec: add implicit conversion from int to enum * fft: add implicit conversion from int to enum * filter: add implicit conversion from int to enum * qtgui: add implicit conversion from int to enum * trellis: add implicit conversion from int to enum * vocoder: add implicit conversion from int to enum * bindtool: add implicitly_convertible to all enums
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-033-5/+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
* pybind: add hash check to binding file creation (#3472)mormj2020-06-0422-22/+190
|
* trellis: fix qa failuresJosh Morman2020-06-041-9/+9
|
* trellis: add pybind bindings for template classesJosh Morman2020-06-042-2/+59
|
* trellis: add pybind11 bindingsJosh Morman2020-06-0446-10/+1636
|
* Update license header to SPDX formatdevnulling2020-01-274-52/+4
|
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-314-53/+59
|\
| * Merge branch 'python3_fix' into nextAndrej Rode2018-06-244-36/+41
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-264-36/+41
| | |
| * | Merge branch 'master' into nextMartin Braun2018-02-031-1/+1
| |\ \ | | |/ | |/|
| * | cmake: nuke cpack from existenceJohnathan Corgan2016-08-031-1/+0
| | | | | | | | | | | | | | | | | | CPack is not used, unmaintaned, and broken. This does not eliminate any MSVC build functionality.
* | | increased PEP compliance of fsm_utilsMarcus Müller2018-06-201-95/+82
| | |
* | | Test: adds swig dirs to python tests to allow ctest to run on win buildsgnieboer2018-03-221-0/+7
| |/ |/|
* | Comment typo fixing.luz.paz2018-02-031-1/+1
|/ | | | Luzpaz went ahead and found typos using `codespell -q 3`.
* trellis: remove import of fsm_utils from __init__.py for gr-trellis.Tom Rondeau2014-12-301-1/+0
| | | | | | | | | | | | fsm_utils uses scipy, which is not a required dependency. Adding this to the trellis import then won't work if you don't have scipy. These imports work: from gnuradio.trellis.fsm_utils as fu from gnuradio.trells import fsm_utils This will not: from gnuradio import trellis trellis.fsm_utils.*
* fixed a bug in pccc encoder/decoder, and added fsm files.Achilleas Anastasopoulos2014-10-151-0/+16
| | | | Also added locks in the set_ methods
* Updated documentation and grc/python examples in gr-trellis.Achilleas Anastasopoulos2014-10-081-6/+6
| | | | Removed weird pyhton examples and made them grc files.
* Added set_ methods for most parameters in (almost) all gr-trellis blocksAchilleas Anastasopoulos2014-10-083-0/+222
| | | | Added FSM functionality + minor fixes
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-071-5/+5
| | | | 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).
* Add a QA_PYTHON_EXECUTABLE variable so QA code knows what python to use when ↵Philip Balister2013-12-051-1/+1
| | | | | | | | | | | | cross compiling. With this (and the prior) patch, you can mount the compile directory on the target and run the QA code (as long as the paths are the same). The qtgui tests fail if there is no X server. Volk seems to fail for hard float builds. We'll need to look at adding thes changes to gr_modtool. Signed-off-by: Philip Balister <philip@balister.org>
* Removing gruel from QA python paths.Ben Reynwar2013-06-061-1/+0
|
* uninstalled imports: Fixing up after merge with master.Ben Reynwar2013-06-031-1/+1
|
* Merged next into uninstalled import branch.Ben Reynwar2013-04-021-3/+3
|\
| * blocks: removing lfsr and friends from core; now in gr-blocks.Tom Rondeau2013-03-181-2/+2
| |
| * blocks: converting references to vector source/sink, null source/sink, nop, ↵Tom Rondeau2013-03-171-1/+1
| | | | | | | | copy, head, skiphead, vector_map, and annotator blocks to use gr-blocks.
* | trellis: Updating testing environment.Ben Reynwar2013-03-112-23/+11
| |
* | trellis: Enabling uninstalled python imports.Ben Reynwar2013-03-084-1/+7
|/
* blocks: removing blocks from gnuradio-core.Tom Rondeau2013-02-211-2/+2
| | | | delay, rms, packed_to_unpacked, unpacked_to_packed.
* Merge branch 'next_blocks' into nextTom Rondeau2012-12-292-3/+6
| | | | | | Conflicts: gr-trellis/CMakeLists.txt gr-trellis/python/CMakeLists.txt
* trellis: converted gr-trellis to new style.Tom Rondeau2012-12-294-0/+235