Constellation Rect. Object: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
 
(4 intermediate revisions by 3 users not shown)
Line 4: Line 4:
== Parameters ==
== Parameters ==
; Symbol Map
; Symbol Map
:  
: List of alphabet symbols (before applying any differential coding) (order of list matches Constellation Points)


; Constellation Points
; Constellation Points
:  
: List of constellation points (order of list matches Symbol Map)


; Rotational Symmetry
; Rotational Symmetry
:  
: Number of rotations around unit circle that have the same representation.


; Real Sectors
; Real Sectors
:  
: Number of sectors the real axis is split in to.


; Imaginary Sectors
; Imaginary Sectors
:  
: Number of sectors the imag axis is split in to.


; Width Real Sectors
; Width Real Sectors
:  
: Width of each real sector to calculate decision boundaries.


; Width Imaginary Sectors
; Width Imaginary Sectors
:  
: Width of each imag sector to calculate decision boundaries.


; Soft Bits Precision
; Soft Bits Precision
:
: The number of bits of precision used when generating the LUT.


; Soft Decisions LUT
; Soft Decisions LUT
:
: The soft decision LUT as a vector of tuples (vectors in C++) of soft decisions. Each element of the LUT is a vector of k-bit floats (where there are k bits/sample in the constellation).


== Example Flowgraph ==
== 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.
This flowgraph is taken from the [[QPSK_Mod_and_Demod]] tutorial.
 
[[File:Qpsk_stage1_fg.png|800px]]


== Source Files ==
== Source Files ==


; C++ files
; C++ files
: [https://github.com/gnuradio/gnuradio/blob/0fa281fd7369348dbdeadcecfebb20b73082e93e/gr-digital/lib/constellation.cc see middle of this page]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/lib/constellation.cc constellation.cc]


; Header files
; Header files
Line 43: Line 45:


; Public header files
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/include/gnuradio/digital/constellation.h constellation.h]


; Block definition
; Block definition
: [https://github.com/gnuradio/gnuradio/blob/0fa281fd7369348dbdeadcecfebb20b73082e93e/gr-digital/grc/digital_constellation_rect.block.yml Here]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-digital/grc/digital_constellation_rect.block.yml digital_constellation_rect.block.yml]

Latest revision as of 14:59, 9 December 2023

A version of Constellation Object specific to rectangular constellations. See Constellation Object for more usage info.

Parameters

Symbol Map
List of alphabet symbols (before applying any differential coding) (order of list matches Constellation Points)
Constellation Points
List of constellation points (order of list matches Symbol Map)
Rotational Symmetry
Number of rotations around unit circle that have the same representation.
Real Sectors
Number of sectors the real axis is split in to.
Imaginary Sectors
Number of sectors the imag axis is split in to.
Width Real Sectors
Width of each real sector to calculate decision boundaries.
Width Imaginary Sectors
Width of each imag sector to calculate decision boundaries.
Soft Bits Precision
The number of bits of precision used when generating the LUT.
Soft Decisions LUT
The soft decision LUT as a vector of tuples (vectors in C++) of soft decisions. Each element of the LUT is a vector of k-bit floats (where there are k bits/sample in the constellation).

Example Flowgraph

This flowgraph is taken from the QPSK_Mod_and_Demod tutorial.

Qpsk stage1 fg.png

Source Files

C++ files
constellation.cc
Header files
TODO
Public header files
constellation.h
Block definition
digital_constellation_rect.block.yml