SNRcalc() method of the
Demodulator class is responsible for Signal-to-Noise Ratio calculation. The method uses signal and noise estimates based on cyclic prefix (CP) correlation.
SNR of the signal is being calculated as one value per each OFDM symbol (which consists of 2552 IQ samples in Mode I) and is being saved into the
output_snr_ table (which is a
Demodulator member variable and stores a SNR value for every OFDM symbol in a frame).
This method requires the previous calculation of beginning of the frame.
This method is strongly sensitive to the phase shift so
SNRcalc() should be used only after phase shift correction.