optic.dsp.synchronization.syncDataSequences
- syncDataSequences(rx, tx, param)
Synchronize data sequences with a given reference sequence.
- Parameters:
rx (np.array) – Received signal.
tx (np.array) – Reference signal (or symbols).
param (optic.utils.parameters object, optional) –
Parameters of the synchronization process.
param.SpS : samples per symbol of the received signal. [default: 1]
param.reference : type of reference used for synchronization (‘signal’,’symbols’) [default: ‘signal’]
param.syncMode : use either the real part or the amplitude of the signal to syncronize [detault: ‘amp’]
param.pulseType : type of pulse shaping filter. [default: ‘rrc’]
param.rollOff : rolloff of RRC filter. [default: 0.01]
param.nFilterTaps : number of filter coefficients. [default: 1024]
param.constType : type of constellation [Default: ‘pam’]
param.M : modulation order. [default: 4]
- Returns:
tx_ (np.array) – Synchronized transmitted signal.
symb (np.array) – Detected transmitted symbols.
Notes
Signals rx and tx must have the same number of columns (modes).
If param.reference is set to ‘signal’, rx and tx should be sampled at the same rate.