summaryrefslogtreecommitdiff
path: root/gr-channels/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>
* channels: pep8 formattingJosh Morman2021-11-249-119/+141
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* channels: Clean up the hardware impairments blockMartin Braun2021-05-172-32/+43
| | | | | | | | | - Add missing label docs for the phase noise power - Fix a bunch of Pylint issues - Rename blocks in the hier block from their GRC auto-generated names to something more readable Signed-off-by: Martin Braun <martin@gnuradio.org>
* qa: run autopep8 formatting on qa python filesmormj2020-10-302-3/+7
| | | | | | 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-302-2/+2
|
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-0310-15/+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-049-9/+73
|
* channels: add pybind11 bindingsJosh Morman2020-06-0420-9/+1132
|
* Update license header to SPDX formatdevnulling2020-01-274-52/+4
|
* channels: Remove some star imports to replace them with explicit namesAntetokounpo2020-01-022-14/+14
|
* Fix for misc. documentation + trivial typosluz.paz2019-07-171-1/+1
| | | | | | | | | | | | | Found via `codespell -q 3 -L ans,sinc,hist,ist,ith,uint,fo -S ./volk` Fix typos in gnuradio-runtime/ Fix typos in gr-digital/ Fix typos in gr-qtgui/ Fix typos in gr-channels/ Fix typos in grc/ Fix typos gr-filter/ Fix typos in gr-uhd/ Fix typos in gr-blocks/ Fix typos in gr-fec/
* Merge remote-tracking branch 'origin/next' into merge_nextMarcus Müller2018-08-3113-22/+38
|\
| * python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-2613-22/+39
| |
| * 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.
* | Test: adds swig dirs to python tests to allow ctest to run on win buildsgnieboer2018-03-221-0/+6
| |
* | gr-channels: Added a block diagram for the IQ imbalance models under ↵Bill Clark2018-03-221-0/+23
| | | | | | | | monospace conditions to the python hierarchical file.
* | gr-channels: iqbal_gen.xml added more detail to the 'doc' heading, ascii art ↵Bill Clark2018-03-221-0/+8
| | | | | | | | to give an idea of what is under the hood. Added the reference source material book title to both the hier py script and the GRC 'doc'
* | gr-channels: Reduced the redundancy in iqbal_gen.py seeing as both modes use ↵Bill Clark2018-03-221-16/+7
| | | | | | | | the same blocks, just the connect order is different.
* | gr-channels: Updating the iq_imbal block to be able to represent transmitter ↵Bill Clark2018-03-221-16/+40
| | | | | | | | or receiver IQ imbalance based on signal component offsets.
* | gr-channels: Fixing the formula behind the IQ_imbal block to be true ↵Bill Clark2018-03-221-14/+17
|/ | | | mathematically. X' = (1+mag_lin)*cos(theta)*real(X) + j*((1+mag_lin)*sin(theta)*real(X) + imag(X)) is the proper equation for handling the IQ imblance purely within the Inphase component.
* Removing trailing/extra whitespaces before release.Tom Rondeau2014-07-072-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).
* 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>
* channels: Added the hardware impairments modeling tools from Matt Ettus' ↵Tom Rondeau2013-08-0111-2/+669
| | | | | | | | GRCon11 talk. Python blocks part of the gr.channel module. Examples are in gr-channels/examples (demo_gmsk, demo_qam, demo_ofdm, and others).
* Removing gruel from QA python paths.Ben Reynwar2013-06-061-1/+0
|
* uninstalled imports: Fixing up after merge with master.Ben Reynwar2013-06-033-21/+12
|
* channels: Setting up channels module for uninstalled import.Ben Reynwar2013-06-034-1/+8
|
* docstrings: Improving subpackage docstrings.Ben Reynwar2013-05-101-2/+1
|
* blocks: converting references to vector source/sink, null source/sink, nop, ↵Tom Rondeau2013-03-173-8/+12
| | | | copy, head, skiphead, vector_map, and annotator blocks to use gr-blocks.
* channels: adding simple QA for fading model. Doesn't really test much but ↵Tom Rondeau2013-02-141-0/+62
| | | | that it runs.
* gr: misc test dependencies for new componentsJosh Blum2012-11-141-1/+1
|
* gr: apply pattern for g37f7522 and gc4c0ce9 to gr-channels and gr-fecJohnathan Corgan2012-11-141-9/+9
|
* Fixed QA code for new component dependencies.Tom Rondeau2012-11-101-1/+1
| | | | constellation_receiver implements channel_model since gr-digital does not depend on gr-channels.
* channels: adding new component gr-channels to hold channel models.Tom Rondeau2012-11-103-0/+137
Currently, only holds our simple channel_model block.