GNU Radio 3.5.3.2 C++ API
|
SNR Estimator using simple mean/variance estimates. More...
#include <digital_impl_mpsk_snr_est.h>
Public Member Functions | |
digital_impl_mpsk_snr_est_simple (double alpha) | |
~digital_impl_mpsk_snr_est_simple () | |
int | update (int noutput_items, const gr_complex *in) |
Update the current registers. | |
double | snr () |
Use the register values to compute a new estimate. |
SNR Estimator using simple mean/variance estimates.
A very simple SNR estimator that just uses mean and variance estimates of an M-PSK constellation. This esimator is quick and cheap and accurate for high SNR (above 7 dB or so) but quickly starts to overestimate the SNR at low SNR.
digital_impl_mpsk_snr_est_simple::digital_impl_mpsk_snr_est_simple | ( | double | alpha | ) |
Constructor
Parameters:
alpha,: | the update rate of internal running average calculations. |
digital_impl_mpsk_snr_est_simple::~digital_impl_mpsk_snr_est_simple | ( | ) | [inline] |
double digital_impl_mpsk_snr_est_simple::snr | ( | ) | [virtual] |
Use the register values to compute a new estimate.
Reimplemented from digital_impl_mpsk_snr_est.
int digital_impl_mpsk_snr_est_simple::update | ( | int | noutput_items, |
const gr_complex * | in | ||
) | [virtual] |
Update the current registers.
Reimplemented from digital_impl_mpsk_snr_est.