GNU Radio 3.7.1 C++ API
|
A parent class for SNR estimators, specifically for M-PSK signals in AWGN channels. More...
#include <mpsk_snr_est.h>
Public Member Functions | |
mpsk_snr_est (double alpha) | |
virtual | ~mpsk_snr_est () |
double | alpha () const |
Get the running-average coefficient. | |
void | set_alpha (double alpha) |
Set the running-average coefficient. | |
virtual int | update (int noutput_items, const gr_complex *input) |
Update the current registers. | |
virtual double | snr () |
Use the register values to compute a new estimate. | |
Protected Attributes | |
double | d_alpha |
double | d_beta |
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 gr::digital::mpsk_snr_est::~mpsk_snr_est | ( | ) | [virtual] |
double gr::digital::mpsk_snr_est::alpha | ( | ) | const |
Get the running-average coefficient.
void gr::digital::mpsk_snr_est::set_alpha | ( | double | alpha | ) |
Set the running-average coefficient.
virtual double gr::digital::mpsk_snr_est::snr | ( | ) | [virtual] |
Use the register values to compute a new estimate.
Reimplemented in gr::digital::mpsk_snr_est_svr, gr::digital::snr_est_m2m4, gr::digital::mpsk_snr_est_m2m4, gr::digital::mpsk_snr_est_skew, and gr::digital::mpsk_snr_est_simple.
virtual int gr::digital::mpsk_snr_est::update | ( | int | noutput_items, |
const gr_complex * | input | ||
) | [virtual] |
Update the current registers.
Reimplemented in gr::digital::mpsk_snr_est_svr, gr::digital::snr_est_m2m4, gr::digital::mpsk_snr_est_m2m4, gr::digital::mpsk_snr_est_skew, and gr::digital::mpsk_snr_est_simple.
double gr::digital::mpsk_snr_est::d_alpha [protected] |
double gr::digital::mpsk_snr_est::d_beta [protected] |