qampy.core.phaserecovery#

Functions for carrier offset and phase estimation and correction functions

Functions

bps(E, Mtestangles, symbols, N[, method])

Perform a blind phase search after _[1]

bps_af(E, testangles, symbols, N, **kwargs)

Arrayfire based blind phase search.

bps_pyx(E, testangles, symbols, N, **kwargs)

Cython based blind phase search.

bps_twostage(E, Mtestangles, symbols, N[, ...])

Perform a blind phase search phase recovery using two stages after _[1]

cal_s0(E, M)

Calculate the signal power S0 according to formula given in Gao and Tepedelenlioglu in IEEE Trans in Signal Processing Vol 53, pg 865 (2005).

comp_freq_offset(sig, freq_offset[, os])

Compensate for frequency offset in signal

find_freq_offset(sig[, os, ...])

Find the frequency offset by searching in the spectrum of the signal raised to 4.

moving_average(sig[, N])

Moving average of signal

partition_16qam(E)

Partition a 16-QAM signal into the inner and outer circles.

phase_partition_16qam(E, Nblock)

16-QAM blind phase recovery using QPSK partitioning.

segment_axis(a, length[, overlap, axis, ...])

Generate a new array that chops the given array along the given axis into overlapping frames.

select_angles(angles, idx)

viterbiviterbi(E, N, M)

Viterbi-Viterbi blind phase recovery for an M-PSK signal