GNU Radio 3.7.1 C++ API
|
Map a stream of symbol indexes (unpacked bytes or shorts) to stream of float or complex constellation points in D dimensions (D = 1 by default)input: stream of short; output: stream of float. More...
#include <chunks_to_symbols_sf.h>
Public Types | |
typedef boost::shared_ptr < chunks_to_symbols_sf > | sptr |
Public Member Functions | |
virtual int | D () const =0 |
virtual std::vector< float > | symbol_table () const =0 |
Static Public Member Functions | |
static sptr | make (const std::vector< float > &symbol_table, const int D=1) |
Map a stream of symbol indexes (unpacked bytes or shorts) to stream of float or complex constellation points in D dimensions (D = 1 by default)
input: stream of short; output: stream of float.
out[n D + k] = symbol_table[in[n] D + k], k=0,1,...,D-1
The combination of gr::blocks::packed_to_unpacked_XX followed by digital_chunks_to_symbols_XY handles the general case of mapping from a stream of bytes or shorts into arbitrary float or complex symbols.
virtual int gr::digital::chunks_to_symbols_sf::D | ( | ) | const [pure virtual] |
static sptr gr::digital::chunks_to_symbols_sf::make | ( | const std::vector< float > & | symbol_table, |
const int | D = 1 |
||
) | [static] |
Make a chunks-to-symbols block.
symbol_table,: | list that maps chunks to symbols. |
D,: | dimension of table. |
virtual std::vector<float> gr::digital::chunks_to_symbols_sf::symbol_table | ( | ) | const [pure virtual] |