11#ifndef INCLUDED_DIGITAL_MPSK_SNR_EST_CC_H 
   12#define INCLUDED_DIGITAL_MPSK_SNR_EST_CC_H 
   46    typedef std::shared_ptr<mpsk_snr_est_cc> 
sptr;
 
   61    virtual double snr() = 0;
 
   70    virtual double alpha() 
const = 0;
 
 
A block for computing SNR of a signal.
Definition mpsk_snr_est_cc.h:43
 
virtual double alpha() const =0
Get the running-average coefficient.
 
virtual snr_est_type_t type() const =0
Return the type of estimator in use.
 
virtual void set_type(snr_est_type_t t)=0
Set type of estimator to use.
 
std::shared_ptr< mpsk_snr_est_cc > sptr
Definition mpsk_snr_est_cc.h:46
 
virtual void set_alpha(double alpha)=0
Set the running-average coefficient.
 
virtual int tag_nsample() const =0
Return how many samples between SNR tags.
 
virtual double snr()=0
Return the estimated signal-to-noise ratio in decibels.
 
virtual void set_tag_nsample(int n)=0
Set the number of samples between SNR tags.
 
static sptr make(snr_est_type_t type, int tag_nsamples=10000, double alpha=0.001)
 
synchronous 1:1 input to output with history
Definition sync_block.h:26
 
#define DIGITAL_API
Definition gr-digital/include/gnuradio/digital/api.h:18
 
GNU Radio logging wrapper.
Definition basic_block.h:29