GNU Radio 3.7.1 C++ API
|
Sectorized digital constellationConstellation space is divided into sectors. Each sector is associated with the nearest constellation point. More...
#include <constellation.h>
Public Member Functions | |
constellation_sector (std::vector< gr_complex > constell, std::vector< int > pre_diff_code, unsigned int rotational_symmetry, unsigned int dimensionality, unsigned int n_sectors) | |
~constellation_sector () | |
unsigned int | decision_maker (const gr_complex *sample) |
Returns the constellation point that matches best. | |
Protected Member Functions | |
virtual unsigned int | get_sector (const gr_complex *sample)=0 |
virtual unsigned int | calc_sector_value (unsigned int sector)=0 |
void | find_sector_values () |
Protected Attributes | |
unsigned int | n_sectors |
Sectorized digital constellation
Constellation space is divided into sectors. Each sector is associated with the nearest constellation point.
gr::digital::constellation_sector::constellation_sector | ( | std::vector< gr_complex > | constell, |
std::vector< int > | pre_diff_code, | ||
unsigned int | rotational_symmetry, | ||
unsigned int | dimensionality, | ||
unsigned int | n_sectors | ||
) |
virtual unsigned int gr::digital::constellation_sector::calc_sector_value | ( | unsigned int | sector | ) | [protected, pure virtual] |
unsigned int gr::digital::constellation_sector::decision_maker | ( | const gr_complex * | sample | ) | [virtual] |
Returns the constellation point that matches best.
Implements gr::digital::constellation.
void gr::digital::constellation_sector::find_sector_values | ( | ) | [protected] |
virtual unsigned int gr::digital::constellation_sector::get_sector | ( | const gr_complex * | sample | ) | [protected, pure virtual] |
Implemented in gr::digital::constellation_psk, and gr::digital::constellation_rect.
unsigned int gr::digital::constellation_sector::n_sectors [protected] |