Chunks to Symbols: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
[[Category:Block Docs]] | [[Category:Block Docs]] | ||
Map a stream of unpacked symbol indexes to stream of float or complex constellation points in D dimensions | Map a stream of unpacked symbol indexes to stream of float or complex constellation points in D dimensions | ||
out[n D + k] = symbol_table[in[n] D + k], k=0,1,...,D-1 | |||
The combination of [[Packed to Unpacked]] followed by this block handles the general case of mapping from a stream of bytes or shorts into arbitrary float or complex symbols. | The combination of [[Packed to Unpacked]] followed by this block handles the general case of mapping from a stream of bytes or shorts into arbitrary float or complex symbols. | ||
Line 7: | Line 9: | ||
(''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span> | (''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span> | ||
; Symbol table (''R''): list that maps chunks to symbols. | ; Symbol table (''R''): list that maps chunks to symbols. That list should have a length of <number of symbols> x <dimension of the table> | ||
; Dimension : Dimension of the table. | ; Dimension : Dimension of the table. |
Latest revision as of 14:58, 4 April 2025
Map a stream of unpacked symbol indexes to stream of float or complex constellation points in D dimensions
out[n D + k] = symbol_table[in[n] D + k], k=0,1,...,D-1
The combination of Packed to Unpacked followed by this block handles the general case of mapping from a stream of bytes or shorts into arbitrary float or complex symbols.
Parameters
(R): Run-time adjustable
- Symbol table (R)
- list that maps chunks to symbols. That list should have a length of <number of symbols> x <dimension of the table>
- Dimension
- Dimension of the table.
- Num ports
- Number of input and output stream to process. Each stream is processed isolated from each other.
Example Flowgraph
Source Files
- C++ files
- chunks_to_symbols_impl.cc
- Header files
- chunks_to_symbols_impl.h
- Public header files
- chunks_to_symbols.h
- Block definition
- digital_chunks_to_symbols.block.yml