summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'python3_fix' into nextAndrej Rode2018-06-2476-584/+686
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * python: Py3k compatAndrej Rode2018-06-231-2/+2
| |
| * Merge branch 'next' into python3Johnathan Corgan2017-10-051-1/+67
| |\
| * \ Merge branch 'next' into python3Johnathan Corgan2017-08-271-0/+28
| |\ \
| * \ \ Merge branch 'next' into python3Johnathan Corgan2017-08-031-0/+25
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: grc/core/Param.py grc/gui/Application.py grc/gui/NotebookPage.py
| * \ \ \ Merge branch 'next' into python3Johnathan Corgan2017-07-131-0/+62
| |\ \ \ \
| * \ \ \ \ Merge branch 'next' into python3Johnathan Corgan2017-06-221-0/+75
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gr-uhd/apps/uhd_app.py
| * \ \ \ \ \ Merge branch 'next' into python3Johnathan Corgan2017-06-221-0/+2
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnuradio-runtime/python/gnuradio/gr/tag_utils.py
| * \ \ \ \ \ \ Merge branch 'next' into python3Johnathan Corgan2017-05-151-41/+38
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'next' into python3Johnathan Corgan2017-04-031-0/+73
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'next' into python3Johnathan Corgan2017-03-271-0/+66
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | python3: update non-GRC components to use python2 or python3Douglas Anderson2017-02-2677-586/+689
| | | | | | | | | | |
* | | | | | | | | | | file_source: add optional offset (in items) and len (in items)Jeff Long2018-02-084-167/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Adds unit tests, and splits existing unit tests into different files: qa_file_source.py - tests file_source_f qa_file_sink.py - tests file_sink_f qa_file_descriptor_source_sink.py - tests file_descriptor_*_f
* | | | | | | | | | | qa_file_source_sink.py: create file_source after file has been populatedJeff Long2018-02-081-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test was opening zero-length file and depending on it to be populated later. With addition of offset/length fields, file_source will be required to check file size on open.
* | | | | | | | | | | blocks: hier_block2 now throws RuntimeError instead of ValueError on misuseAndrej Rode2018-02-061-14/+14
| | | | | | | | | | |
* | | | | | | | | | | 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`.
* | | | | | | | | | | Merge branch 'master' into nextJohnathan Corgan2017-10-051-1/+67
|\| | | | | | | | | | | |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gr-digital/examples/CMakeLists.txt gr-uhd/lib/usrp_source_impl.cc gr-uhd/lib/usrp_source_impl.h
| * | | | | | | | | Merge remote-tracking branch 'github/pr/1462'Johnathan Corgan2017-10-051-23/+24
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gr-blocks/python/blocks/qa_moving_average.py
| | * | | | | | | | | removed print debugging in QA testMarcus Müller2017-09-261-5/+0
| | | | | | | | | | |
| | * | | | | | | | | Added a vector operation mode to the moving averageMarcus Müller2017-09-081-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows users to average per-element. Might be very useful for spectrum "condensing" and such.
| * | | | | | | | | | Merge branch 'maint'Johnathan Corgan2017-10-051-0/+65
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | |
| | * | | | | | | | | [gr-blocks] improve moving_average unit testSebastian Müller2017-09-301-0/+65
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'master' into nextJohnathan Corgan2017-08-271-0/+28
|\| | | | | | | | | | | |_|_|_|_|_|_|_|_|/ |/| | | | | | | | |
| * | | | | | | | | Swap (potentially infinite) timeout with fixed delayBrian Orr2017-08-151-2/+1
| | | | | | | | | |
| * | | | | | | | | Fix invalid Asio buffer usage in tcp_connectionBrian Orr2017-08-091-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Asio requires that the underlying buffer passed to `async_write()` remain valid valid until the handler was called. The previous version was allocating a vector on the stack which gets destroyed once the `send()` method returns. Added a unit test for TCP server.
* | | | | | | | | | Merge branch 'master' into nextJohnathan Corgan2017-08-031-0/+25
|\| | | | | | | | | | |_|_|_|_|_|_|_|/ |/| | | | | | | |
| * | | | | | | | Merge remote-tracking branch 'github/pr/1396'Johnathan Corgan2017-08-031-0/+25
| |\ \ \ \ \ \ \ \
| | * | | | | | | | block python gateway: add WORK_CALLED_PRODUCE/_DONE proxyMarcus Müller2017-07-281-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that we can then have def general_work(self, input_items, output_items): … self.produce(0,2) self.produce(1,1) return gr.WORK_CALLED_PRODUCE Includes a unit test. We need more unit tests. There wasn't a single general block test in qa_block_gateway.py.
* | | | | | | | | | Merge branch 'master' into nextJohnathan Corgan2017-07-131-0/+62
|\| | | | | | | | | | |_|_|_|_|_|_|_|/ |/| | | | | | | |
| * | | | | | | | Merge remote-tracking branch 'github/pr/1301'Johnathan Corgan2017-07-131-0/+62
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| | * | | | | | | set_begin_tag now takes pmt::pmt instead of boolRuben Undheim2017-05-191-2/+3
| | | | | | | | |
| | * | | | | | | Address comment in pull request to use "with" with tempfileRuben Undheim2017-05-191-27/+25
| | | | | | | | |
| | * | | | | | | blocks: file_source ("file_begin" stream tag)Ruben Undheim2017-05-191-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a configurable "file_begin" stream tag which is especially useful in repeat mode. - Added unit tests for new functionality
* | | | | | | | | Merge branch 'master' into nextJohnathan Corgan2017-06-221-0/+75
|\| | | | | | | | | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | Merge remote-tracking branch 'github/pr/1300'Johnathan Corgan2017-06-221-0/+75
| |\ \ \ \ \ \ \
| | * | | | | | | blocks: tag_gate (improvements)Ruben Undheim2017-04-261-0/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Make it possible to specify a single tag key to look for instead of all tags. - Extended unit test for new functionality - Actually fix a bug which made the unit test do nothing earlier
* | | | | | | | | Merge branch 'master' into nextJohnathan Corgan2017-06-221-0/+2
|\| | | | | | | | | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | Merge branch 'maint'Johnathan Corgan2017-06-221-0/+2
| |\ \ \ \ \ \ \ | | |_|/ / / / / | |/| | / / / / | | | |/ / / / | | |/| | | | Conflicts: gr-uhd/apps/uhd_app.py
| | * | | | | gr_blocks: fix qa_file_metadata not calling close() on file sourcegnieboer2017-06-161-0/+2
| | | | | | |
* | | | | | | Merge branch 'master' into nextJohnathan Corgan2017-05-151-41/+38
|\| | | | | | | |_|_|_|_|/ |/| | | | |
| * | | | | Merge branch 'maint'Johnathan Corgan2017-05-151-41/+38
| |\| | | | | | |/ / / | |/| | |
| | * | | Use Python's tempfile module for unit testRuben Undheim2017-05-141-41/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of setting a fixed file name for unit test of file_source, rather employ the tempfile module in a with statement. This was suggested by Johnathan in https://github.com/gnuradio/gnuradio/pull/1301
* | | | | Merge branch 'master' into nextJohnathan Corgan2017-04-031-0/+73
|\| | | | | |_|_|/ |/| | |
| * | | blocks: Add tag share blockmhostetter2017-03-291-0/+73
| | | | | | | | | | | | | | | | The tag share block is used to transfer or share tags from one stream to another. The block takes two inputs and one output. The Input 0 stream is propagated to Output 0. In addition, the tags from Input 1 are added to the Input 0 stream. This is useful for transferring a detection tag from a correlate_access_code_bb block to the main complex stream, for example.
* | | | Merge branch 'master' into nextJohnathan Corgan2017-03-271-0/+66
|\| | | | |_|/ |/| |
| * | blocks: Add exponentiate const int blockmhostetter2017-03-271-0/+66
| |/ | | | | | | The Exponentiate Const Int block takes an integer power of the input complex stream. The exponent parameter must be at least 1. There is also a callback function so the exponent can be changed at runtime.
* | fixed QA, conditionalized adding loopMarcus Müller2016-09-151-3/+3
| |
* | blocks: remove old style message queue blocksJohnathan Corgan2016-09-032-57/+1
| |
* | blocks: add QA for new block log_level accessorsNathan West2016-08-041-0/+96
| | | | | | | | | | This exists in gr-blocks to test functionality in runtime because runtime doesn't have any blocks