GNU Radio Manual and C++ API Reference  3.7.9.2
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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>

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
 

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.

virtual double gr::digital::mpsk_snr_est::noise ( )
virtual

Returns the noise power estimate.

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

Set the running-average coefficient.

virtual double gr::digital::mpsk_snr_est::signal ( )
virtual

Returns the signal power estimate.

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
double gr::digital::mpsk_snr_est::d_noise
protected
double gr::digital::mpsk_snr_est::d_signal
protected

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