qampy.core.ber_functions#

BER and bit and symbol stream calculation methods.

Functions

adjust_data_length(data_tx, data_rx[, ...])

Adjust the length of data_tx to match data_rx, either by truncation or repeating the data.

cal_ber_nosyncd(data_rx, data_tx)

Calculate the BER between a received bit stream and a known bit sequence which is not synchronised.

cal_ber_syncd(data_rx, data_tx[, threshold])

Calculate the bit-error rate (BER) between two synchronised binary data signals in linear units.

fftconvolve(in1, in2[, mode, axes])

Convolve two N-dimensional arrays using FFT.

find_sequence_offset(x, y[, show_cc])

Find the time shift between two input signals that might contain errors might contain errors, using cross-correlation between data_rx and data_tx.

find_sequence_offset_complex(x, y)

Find the offset of one sequence in the other even if both sequences are complex.

sync_and_adjust(data_tx, data_rx[, adjust])

Synchronize and adjust length of received and transmitted data sequence.

sync_rx2tx(data_tx, data_rx, Lsync[, imax])

Sync the received data sequence to the transmitted data, which might contain errors.

sync_tx2rx(data_tx, data_rx, Lsync[, imax])

Sync the transmitted data sequence to the received data, which might contain errors.

Exceptions

DataSyncError