GNU Radio 3.7.1 C++ API
|
constellation_pskConstellation space is divided into pie slices sectors. More...
#include <constellation.h>
Public Types | |
typedef boost::shared_ptr < constellation_psk > | sptr |
Public Member Functions | |
~constellation_psk () | |
Static Public Member Functions | |
static sptr | make (std::vector< gr_complex > constell, std::vector< 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) |
constellation_psk (std::vector< gr_complex > constell, std::vector< 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
gr::digital::constellation_psk::constellation_psk | ( | std::vector< gr_complex > | constell, |
std::vector< int > | pre_diff_code, | ||
unsigned int | n_sectors | ||
) | [protected] |
unsigned int gr::digital::constellation_psk::calc_sector_value | ( | unsigned int | sector | ) | [protected, virtual] |
Implements gr::digital::constellation_sector.
unsigned int gr::digital::constellation_psk::get_sector | ( | const gr_complex * | sample | ) | [protected, virtual] |
Implements gr::digital::constellation_sector.
static sptr gr::digital::constellation_psk::make | ( | std::vector< gr_complex > | constell, |
std::vector< int > | pre_diff_code, | ||
unsigned int | n_sectors | ||
) | [static] |