SNR Estimator using simple mean/variance estimates. More...
#include <gnuradio/digital/mpsk_snr_est.h>
Public Member Functions | |
mpsk_snr_est_simple (double alpha) | |
~mpsk_snr_est_simple () | |
int | update (int noutput_items, const gr_complex *input) |
Update the current registers. More... | |
double | snr () |
Use the register values to compute a new estimate. More... | |
![]() | |
mpsk_snr_est (double alpha) | |
virtual | ~mpsk_snr_est () |
double | alpha () const |
Get the running-average coefficient. More... | |
void | set_alpha (double alpha) |
Set the running-average coefficient. More... | |
virtual double | signal () |
Returns the signal power estimate. More... | |
virtual double | noise () |
Returns the noise power estimate. More... | |
Additional Inherited Members | |
![]() | |
double | d_alpha |
double | d_beta |
double | d_signal |
double | d_noise |
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.
gr::digital::mpsk_snr_est_simple::mpsk_snr_est_simple | ( | double | alpha | ) |
Constructor
Parameters:
alpha | the update rate of internal running average calculations. |
|
inline |
|
virtual |
Use the register values to compute a new estimate.
Reimplemented from gr::digital::mpsk_snr_est.
|
virtual |
Update the current registers.
Reimplemented from gr::digital::mpsk_snr_est.