GNU Radio 3.5.3.2 C++ API
digital_constellation_psk Class Reference

digital_constellation_pskConstellation space is divided into pie slices sectors. More...

#include <digital_constellation.h>

Inheritance diagram for digital_constellation_psk:

List of all members.

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)

Detailed Description

digital_constellation_psk

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


Constructor & Destructor Documentation

digital_constellation_psk::digital_constellation_psk ( std::vector< gr_complex constellation,
std::vector< unsigned int >  pre_diff_code,
unsigned int  n_sectors 
)

Member Function Documentation

unsigned int digital_constellation_psk::calc_sector_value ( unsigned int  sector) [protected, virtual]
unsigned int digital_constellation_psk::get_sector ( const gr_complex sample) [protected, virtual]

Friends And Related Function Documentation

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]

The documentation for this class was generated from the following file: