GNU Radio 3.5.1 C++ API
digital_impl_mpsk_snr_est Class Reference

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

#include <digital_impl_mpsk_snr_est.h>

Inheritance diagram for digital_impl_mpsk_snr_est:

List of all members.

Public Member Functions

 digital_impl_mpsk_snr_est (double alpha)
virtual ~digital_impl_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 *in)
 Update the current registers.
virtual double snr ()
 Use the register values to compute a new estimate.

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

digital_impl_mpsk_snr_est::digital_impl_mpsk_snr_est ( double  alpha)

Constructor

Parameters:

Parameters:
alpha,:the update rate of internal running average calculations.
virtual digital_impl_mpsk_snr_est::~digital_impl_mpsk_snr_est ( ) [virtual]

Member Function Documentation

double digital_impl_mpsk_snr_est::alpha ( ) const

Get the running-average coefficient.

void digital_impl_mpsk_snr_est::set_alpha ( double  alpha)

Set the running-average coefficient.

virtual double digital_impl_mpsk_snr_est::snr ( ) [virtual]
virtual int digital_impl_mpsk_snr_est::update ( int  noutput_items,
const gr_complex in 
) [virtual]

Member Data Documentation


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