GNU Radio 3.7.2 C++ API
gr::digital::mpsk_snr_est Class Reference

A parent class for SNR estimators, specifically for M-PSK signals in AWGN channels. More...

#include <gnuradio/digital/mpsk_snr_est.h>

Inheritance diagram for gr::digital::mpsk_snr_est:

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...
 

Protected Attributes

double d_alpha
 
double d_beta
 

Detailed Description

A parent class for SNR estimators, specifically for M-PSK signals in AWGN channels.

Constructor & Destructor Documentation

gr::digital::mpsk_snr_est::mpsk_snr_est ( double  alpha)

Constructor

Parameters:

Parameters
alphathe update rate of internal running average calculations.
virtual gr::digital::mpsk_snr_est::~mpsk_snr_est ( )
virtual

Member Function Documentation

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
virtual int gr::digital::mpsk_snr_est::update ( int  noutput_items,
const gr_complex input 
)
virtual

Member Data Documentation

double gr::digital::mpsk_snr_est::d_alpha
protected
double gr::digital::mpsk_snr_est::d_beta
protected

The documentation for this class was generated from the following file: