* \brief Keeps only 1 symbol out of resamp_ratio, dephased starting at phase_shift * resamp_ratio.
* \ingroup NOMA
*
* \details
* Allows the user to extract only meaningful values from a given set. The resamp_ratio is typically sps (number of samples per symbol).\n
* phase_shift helps choosing which value is kept. For example, if resamp_ratio=32 and phase_shift=0.5, then, every 32 values, only the 16th value is kepts (which probably corresponds to the max power).\n
* \brief Block which automatically corrects the phase and amplitude of received symbols.
* \ingroup NOMA
*
* \details
* This should be at the receiving end of a sync_frame_sender.\n
* This block uses an initial burst of known symbols to compute the average phase and amplitude difference, and corrects it for all the following symbols.\n
* It expects the initial known symbols (defined in the syncFrames vector of complex values) to be sent with a frequency of freq (where freq = sample_rate / sps).\n
* The goal of this block is to not drop any symbolNo symbol is dropped by the block (it just prepends some symbols at the start).
* Increasing procPerSymbol means that, for each known symbol, multiple values will be analyzed to compute the phase and amplitude difference. It is recommended to only increase this if the received symbols stay long enough at the optimal amplitude (i.e. the transition period is small).\n
* \n
* WARNING: The values in syncFrames MUST be != 0. Indeed, since this block is meant to be placed after an USRP source, it will initally be given noise by the antenna until the USRP source actually sends symbols. This means we have to find out which symbols are noise. This is done with a simple amplitude threshold on received values.\n
* TODO: Make the threashold modifiable in the block params. Discard only the first "zeros" (aka noise) received. Ignore zeros in syncFrames.\n
* \brief Block which initially sends reference symbols and, coupled with a sync_frams_receiver, corrects the phase and amplitude of received symbols.
* \ingroup NOMA
*
* \details
* This should be at the sending end of a sync_frame_sender.\n
* This block sends an initial burst of known symbols, later used in sync_frames_receiver to compute the average phase and amplitude difference, and correct it for all the following symbols.\n
* It sends the initial known symbols (defined in the syncFrames vector of complex values) with a frequency of freq (where freq = sample_rate / sps).\n
* After sending those symbols, it just acts as a passthrough block. No symbol is dropped by the block (it just prepends some symbols at the start).\n
* \n
* WARNING: The values in syncFrames MUST be != 0 (see sync_frames_receiver for details).\n