GNU Radio Manual and C++ API Reference  3.8.1.0
The Free & Open Software Radio Ecosystem
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

◆ mpsk_snr_est()

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

Constructor

Parameters:

Parameters
alphathe update rate of internal running average calculations.

◆ ~mpsk_snr_est()

virtual gr::digital::mpsk_snr_est::~mpsk_snr_est ( )
virtual

Member Function Documentation

◆ alpha()

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

Get the running-average coefficient.

◆ noise()

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

Returns the noise power estimate.

◆ set_alpha()

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

Set the running-average coefficient.

◆ signal()

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

Returns the signal power estimate.

◆ snr()

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

◆ update()

virtual int gr::digital::mpsk_snr_est::update ( int  noutput_items,
const gr_complex input 
)
virtual

Member Data Documentation

◆ d_alpha

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

◆ d_beta

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

◆ d_noise

double gr::digital::mpsk_snr_est::d_noise
protected

◆ d_signal

double gr::digital::mpsk_snr_est::d_signal
protected

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