comnum.ofdm_synchronize#

comnum.ofdm_synchronize(r, ofdm)#

Timing and fractional frequency offset of the preamble of ofdm in r (Schmidl & Cox 1997).

Parameters:
  • r (array_like) – the received samples.

  • ofdm (Ofdm) – the modulator of the preamble.

Returns:

timing (the middle of the plateau, inside the cyclic prefix, samples), cfo (subcarrier spacings), peak (the metric).

Return type:

dict

Raises:

ValueError – for an invalid parameter or input (the message names it).