gnuradio.digital: Constellations

gnuradio.digital.constellation_8psk() → constellation_8psk_sptr

Digital constellation for 8PSK.

Constructor Specific Documentation:

gnuradio.digital.constellation_bpsk() → constellation_bpsk_sptr

Digital constellation for BPSK .

Constructor Specific Documentation:

gnuradio.digital.constellation_calcdist(pmt_vector_cfloat constell, std::vector< int, std::allocator< int > > pre_diff_code, unsigned int rotational_symmetry, unsigned int dimensionality) → constellation_calcdist_sptr

Calculate Euclidian distance for any constellation.

Constellation which calculates the distance to each point in the constellation for decision making. Inefficient for large constellations.

Constructor Specific Documentation:

Make a general constellation object that calculates the Euclidean distance for hard decisions.

Parameters:
  • constell – List of constellation points (order of list matches pre_diff_code)
  • pre_diff_code – List of alphabet symbols (before applying any differential coding) (order of list matches constell)
  • rotational_symmetry – Number of rotations around unit circle that have the same representation.
  • dimensionality – Number of dimensions to the constellation.
gnuradio.digital.constellation_dqpsk() → constellation_dqpsk_sptr

Digital constellation for DQPSK.

Constructor Specific Documentation:

gnuradio.digital.constellation_psk(pmt_vector_cfloat constell, std::vector< int, std::allocator< int > > pre_diff_code, unsigned int n_sectors) → constellation_psk_sptr

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 Specific Documentation:

Parameters:
  • constell
  • pre_diff_code
  • n_sectors
gnuradio.digital.constellation_qpsk() → constellation_qpsk_sptr

Digital constellation for QPSK.

Constructor Specific Documentation:

gnuradio.digital.constellation_rect(pmt_vector_cfloat constell, std::vector< int, std::allocator< int > > pre_diff_code, unsigned int rotational_symmetry, unsigned int real_sectors, unsigned int imag_sectors, float width_real_sectors, float width_imag_sectors) → constellation_rect_sptr

Rectangular digital constellation

Only implemented for 1-(complex)dimensional constellation.

Constellation space is divided into rectangular sectors. Each sector is associated with the nearest constellation point.

Works well for square QAM.

Works for any generic constellation provided sectors are not too large.

Constructor Specific Documentation:

Make a rectangular constellation object.

Parameters:
  • constell – List of constellation points (order of list matches pre_diff_code)
  • pre_diff_code – List of alphabet symbols (before applying any differential coding) (order of list matches constell)
  • rotational_symmetry – Number of rotations around unit circle that have the same representation.
  • real_sectors – Number of sectors the real axis is split in to.
  • imag_sectors – Number of sectors the imag axis is split in to.
  • width_real_sectors – width of each real sector to calculate decision boundaries.
  • width_imag_sectors – width of each imag sector to calculate decision boundaries.
gnuradio.digital.qpsk.qpsk_constellation(mod_code='gray')

Creates a QPSK constellation.

gnuradio.digital.psk.psk_constellation(m=4, mod_code='gray', differential=True)

Creates a PSK constellation object.

gnuradio.digital.qam.qam_constellation(constellation_points=16, differential=True, mod_code='none', large_ampls_to_corners=False)

Creates a QAM constellation object.

If large_ampls_to_corners=True then sectors that are probably occupied due to a phase offset, are not mapped to the closest constellation point. Rather we take into account the fact that a phase offset is probably the problem and map them to the closest corner point. It’s a bit hackish but it seems to improve frequency locking.

Previous topic

gnuradio.digital: Signal Processing Blocks

Next topic

gnuradio.digital: OFDM Packet Utilities

This Page