GNU Radio 3.6.5 C++ API

digital_constellation.h File Reference

#include <digital_api.h>
#include <vector>
#include <math.h>
#include <gr_complex.h>
#include <boost/enable_shared_from_this.hpp>
#include <digital_metric_type.h>

Go to the source code of this file.

Classes

class  digital_constellation
 An abstracted constellation objectThe constellation objects hold the necessary information to pass around constellation information for modulators and demodulators. These objects contain the mapping between the bits and the constellation points used to represent them as well as methods for slicing the symbol space. Various implementations are possible for efficiency and ease of use. More...
class  digital_constellation_calcdist
 Calculate Euclidian distance for any constellationConstellation which calculates the distance to each point in the constellation for decision making. Inefficient for large constellations. More...
class  digital_constellation_sector
 Sectorized digital constellationConstellation space is divided into sectors. Each sector is associated with the nearest constellation point. More...
class  digital_constellation_rect
class  digital_constellation_expl_rect
class  digital_constellation_psk
 digital_constellation_pskConstellation space is divided into pie slices sectors. More...
class  digital_constellation_bpsk
 Digital constellation for BPSK. More...
class  digital_constellation_qpsk
 Digital constellation for QPSK. More...
class  digital_constellation_dqpsk
 Digital constellation for DQPSK. More...
class  digital_constellation_8psk
 Digital constellation for 8PSK. More...

Functions

DIGITAL_API
digital_constellation_calcdist_sptr 
digital_make_constellation_calcdist (std::vector< gr_complex > constellation, std::vector< unsigned int > pre_diff_code, unsigned int rotational_symmetry, unsigned int dimensionality)
DIGITAL_API
digital_constellation_rect_sptr 
digital_make_constellation_rect (std::vector< gr_complex > constellation, std::vector< unsigned int > pre_diff_code, unsigned int rotational_symmetry, unsigned int real_sectors, unsigned int imag_sectors, float width_real_sectors, float width_imag_sectors)
DIGITAL_API
digital_constellation_expl_rect_sptr 
digital_make_constellation_expl_rect (std::vector< gr_complex > constellation, std::vector< unsigned int > pre_diff_code, unsigned int rotational_symmetry, unsigned int real_sectors, unsigned int imag_sectors, float width_real_sectors, float width_imag_sectors, std::vector< unsigned int > sector_values)
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)
DIGITAL_API
digital_constellation_bpsk_sptr 
digital_make_constellation_bpsk ()
DIGITAL_API
digital_constellation_qpsk_sptr 
digital_make_constellation_qpsk ()
DIGITAL_API
digital_constellation_dqpsk_sptr 
digital_make_constellation_dqpsk ()
DIGITAL_API
digital_constellation_8psk_sptr 
digital_make_constellation_8psk ()

Function Documentation

DIGITAL_API digital_constellation_8psk_sptr digital_make_constellation_8psk ( )
DIGITAL_API digital_constellation_bpsk_sptr digital_make_constellation_bpsk ( )
DIGITAL_API digital_constellation_calcdist_sptr digital_make_constellation_calcdist ( std::vector< gr_complex constellation,
std::vector< unsigned int >  pre_diff_code,
unsigned int  rotational_symmetry,
unsigned int  dimensionality 
)
DIGITAL_API digital_constellation_dqpsk_sptr digital_make_constellation_dqpsk ( )
DIGITAL_API digital_constellation_expl_rect_sptr digital_make_constellation_expl_rect ( std::vector< gr_complex constellation,
std::vector< unsigned int >  pre_diff_code,
unsigned int  rotational_symmetry,
unsigned int  real_sectors,
unsigned int  imag_sectors,
float  width_real_sectors,
float  width_imag_sectors,
std::vector< unsigned int >  sector_values 
)
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 
)
DIGITAL_API digital_constellation_qpsk_sptr digital_make_constellation_qpsk ( )
DIGITAL_API digital_constellation_rect_sptr digital_make_constellation_rect ( std::vector< gr_complex constellation,
std::vector< unsigned int >  pre_diff_code,
unsigned int  rotational_symmetry,
unsigned int  real_sectors,
unsigned int  imag_sectors,
float  width_real_sectors,
float  width_imag_sectors 
)