GNU Radio 3.6.5 C++ API
|
digital_constellation_pskConstellation space is divided into pie slices sectors. More...
#include <digital_constellation.h>
Public Member Functions | |
digital_constellation_psk (std::vector< gr_complex > constellation, std::vector< unsigned int > pre_diff_code, unsigned int n_sectors) | |
Protected Member Functions | |
unsigned int | get_sector (const gr_complex *sample) |
unsigned int | calc_sector_value (unsigned int sector) |
Friends | |
DIGITAL_API digital_constellation_psk_sptr | digital_make_constellation_psk (std::vector< gr_complex > constellation, std::vector< unsigned int > pre_diff_code, unsigned int n_sectors) |
Constellation space is divided into pie slices sectors.
Each slice is associated with the nearest constellation point.
Works well for PSK but nothing else.
Assumes that there is a constellation point at 1.x
digital_constellation_psk::digital_constellation_psk | ( | std::vector< gr_complex > | constellation, |
std::vector< unsigned int > | pre_diff_code, | ||
unsigned int | n_sectors | ||
) |
unsigned int digital_constellation_psk::calc_sector_value | ( | unsigned int | sector | ) | [protected, virtual] |
Implements digital_constellation_sector.
unsigned int digital_constellation_psk::get_sector | ( | const gr_complex * | sample | ) | [protected, virtual] |
Implements digital_constellation_sector.
DIGITAL_API digital_constellation_psk_sptr digital_make_constellation_psk | ( | std::vector< gr_complex > | constellation, |
std::vector< unsigned int > | pre_diff_code, | ||
unsigned int | n_sectors | ||
) | [friend] |