A parent class for SNR estimators, specifically for M-PSK signals in AWGN channels. More...
#include <gnuradio/digital/mpsk_snr_est.h>
Public Member Functions | |
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 int | update (int noutput_items, const gr_complex *input) |
Update the current registers. More... | |
virtual double | snr () |
Use the register values to compute a new estimate. More... | |
virtual double | signal () |
Returns the signal power estimate. More... | |
virtual double | noise () |
Returns the noise power estimate. More... | |
Protected Attributes | |
double | d_alpha |
double | d_beta |
double | d_signal |
double | d_noise |
A parent class for SNR estimators, specifically for M-PSK signals in AWGN channels.
gr::digital::mpsk_snr_est::mpsk_snr_est | ( | double | alpha | ) |
Constructor
Parameters:
alpha | the update rate of internal running average calculations. |
|
virtual |
double gr::digital::mpsk_snr_est::alpha | ( | ) | const |
Get the running-average coefficient.
|
virtual |
Returns the noise power estimate.
void gr::digital::mpsk_snr_est::set_alpha | ( | double | alpha | ) |
Set the running-average coefficient.
|
virtual |
Returns the signal power estimate.
|
virtual |
Use the register values to compute a new estimate.
Reimplemented in gr::digital::mpsk_snr_est_simple, gr::digital::mpsk_snr_est_skew, gr::digital::mpsk_snr_est_m2m4, gr::digital::snr_est_m2m4, and gr::digital::mpsk_snr_est_svr.
|
virtual |
Update the current registers.
Reimplemented in gr::digital::mpsk_snr_est_simple, gr::digital::mpsk_snr_est_skew, gr::digital::mpsk_snr_est_m2m4, gr::digital::snr_est_m2m4, and gr::digital::mpsk_snr_est_svr.
|
protected |
|
protected |
|
protected |
|
protected |