summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_stream_demux.py
Commit message (Collapse)AuthorAgeFilesLines
* blocks: pep8 formattingJosh Morman2021-11-241-2/+2
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* qa: run autopep8 formatting on qa python filesmormj2020-10-301-76/+190
| | | | | | find ./ -iname qa*.py | xargs autopep8 --in-place -a -a mostly formats whitespace and gets rid of trailing semicolons
* blocks: New block 'Stream Demux'David Pi2020-09-251-0/+292
Stream demuxing block to demultiplex one stream into N output streams. Demuxes a stream producing N outputs streams that contains n_0 items in the first stream, n_1 items in the second, etc. and repeats. Number of items of each output stream is specified using the 'lengths' parameter like so [n_0, n_1, ..., n_N-1]. Example: lengths = [2, 3, 4] input stream: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ...] output_streams: [0, 1, 9, 10, ...] [2, 3, 4, 11, ...] [5, 6, 7, 8, ...]