GNU Radio 3.5.3.2 C++ API
|
Sectorized digital constellationConstellation space is divided into sectors. Each sector is associated with the nearest constellation point. More...
#include <digital_constellation.h>
Public Member Functions | |
digital_constellation_sector (std::vector< gr_complex > constellation, std::vector< unsigned int > pre_diff_code, unsigned int rotational_symmetry, unsigned int dimensionality, unsigned int n_sectors) | |
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.
digital_constellation_sector::digital_constellation_sector | ( | std::vector< gr_complex > | constellation, |
std::vector< unsigned int > | pre_diff_code, | ||
unsigned int | rotational_symmetry, | ||
unsigned int | dimensionality, | ||
unsigned int | n_sectors | ||
) |
virtual unsigned int digital_constellation_sector::calc_sector_value | ( | unsigned int | sector | ) | [protected, pure virtual] |
Implemented in digital_constellation_rect, and digital_constellation_psk.
unsigned int digital_constellation_sector::decision_maker | ( | const gr_complex * | sample | ) | [virtual] |
Returns the constellation point that matches best.
Implements digital_constellation.
void digital_constellation_sector::find_sector_values | ( | ) | [protected] |
virtual unsigned int digital_constellation_sector::get_sector | ( | const gr_complex * | sample | ) | [protected, pure virtual] |
Implemented in digital_constellation_rect, and digital_constellation_psk.
unsigned int digital_constellation_sector::n_sectors [protected] |