23#ifndef INCLUDED_DIGITAL_MPSK_SNR_EST_CC_H
24#define INCLUDED_DIGITAL_MPSK_SNR_EST_CC_H
58 typedef boost::shared_ptr<mpsk_snr_est_cc>
sptr;
73 virtual double snr() = 0;
82 virtual double alpha()
const = 0;
A block for computing SNR of a signal.
Definition mpsk_snr_est_cc.h:55
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.
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)
boost::shared_ptr< mpsk_snr_est_cc > sptr
Definition mpsk_snr_est_cc.h:58
synchronous 1:1 input to output with history
Definition sync_block.h:38
#define DIGITAL_API
Definition gr-digital/include/gnuradio/digital/api.h:30
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition basic_block.h:46