Patterned Interleaver: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(Updated: "sample" -> "item" to address the case of vector input.)
(Edit: typo.)
Line 6: Line 6:
; Pattern  
; Pattern  
: Vector that represents the interleaving pattern.   
: Vector that represents the interleaving pattern.   
: For example, the pattern <code>[ 0, 0, 1, 2 ]</code> means to pass one itemp of data from port 0 twice, then from port 1 once, then from port 2 once, then repeat.
: For example, the pattern <code>[ 0, 0, 1, 2 ]</code> means to pass one item of data from port 0 twice, then from port 1 once, then from port 2 once, then repeat.


== Example Flowgraph ==
== Example Flowgraph ==

Revision as of 17:46, 24 July 2022

Interleave items based on the provided vector.

Parameters

Pattern
Vector that represents the interleaving pattern.
For example, the pattern [ 0, 0, 1, 2 ] means to pass one item of data from port 0 twice, then from port 1 once, then from port 2 once, then repeat.

Example Flowgraph

Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.

Source Files

C++ files
[1]
Header files
[2]
Public header files
[3]
Block definition
[4]