GNU Radio C++ API Reference: gr::digital::mpsk_snr_est_simple Class Reference

| GNU Radio C++ API Reference 3.10.12.0 The Free & Open Software Radio Ecosystem |

Loading...
Searching...
No Matches
gr::digital::mpsk_snr_est_simple Class Reference

SNR Estimator using simple mean/variance estimates. More...

`#include <gnuradio/digital/mpsk_snr_est.h>`

## Public Member Functions
| mpsk_snr_est_simple (double alpha)
| ~mpsk_snr_est_simple () override
int | update (int noutput_items, const gr_complex *input) override
| Update the current registers.
double | snr () override
| Use the register values to compute a new estimate.
Public Member Functions inherited from gr::digital::mpsk_snr_est
| 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 double | signal ()
| Returns the signal power estimate.
virtual double | noise ()
| Returns the noise power estimate.

## Additional Inherited Members
Protected Attributes inherited from gr::digital::mpsk_snr_est
double | d_alpha
double | d_beta
double | d_signal
double | d_noise

## Detailed Description

SNR Estimator using simple mean/variance estimates.

A very simple SNR estimator that just uses mean and variance estimates of an M-PSK constellation. This estimator is quick and cheap and accurate for high SNR (above 7 dB or so) but quickly starts to overestimate the SNR at low SNR.

## Constructor & Destructor Documentation

## ◆ mpsk_snr_est_simple()

gr::digital::mpsk_snr_est_simple::mpsk_snr_est_simple | ( | double | alpha | ) |

Constructor

Parameters:

Parameters

  alpha | the update rate of internal running average calculations.

References gr::digital::mpsk_snr_est::alpha().

## ◆ ~mpsk_snr_est_simple()

gr::digital::mpsk_snr_est_simple::~mpsk_snr_est_simple | ( |  | ) |
| inlineoverride

## Member Function Documentation

## ◆ snr()

double gr::digital::mpsk_snr_est_simple::snr | ( |  | ) |
| overridevirtual

Use the register values to compute a new estimate.

Reimplemented from gr::digital::mpsk_snr_est.

## ◆ update()

int gr::digital::mpsk_snr_est_simple::update | ( | int | noutput_items,
|  | const gr_complex * | input )
| overridevirtual

Update the current registers.

Reimplemented from gr::digital::mpsk_snr_est.

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

- mpsk_snr_est.h