23#ifndef INCLUDED_DIGITAL_PROBE_MPSK_SNR_EST_C_H
24#define INCLUDED_DIGITAL_PROBE_MPSK_SNR_EST_C_H
65 typedef boost::shared_ptr<probe_mpsk_snr_est_c>
sptr;
82 virtual double snr() = 0;
97 virtual double alpha()
const = 0;
A probe for computing SNR of a PSK signal.
Definition probe_mpsk_snr_est_c.h:62
virtual snr_est_type_t type() const =0
Return the type of estimator in use.
virtual void set_msg_nsample(int n)=0
Set the number of samples between SNR messages.
virtual double signal()=0
Return the estimated signal power in decibels.
static sptr make(snr_est_type_t type, int msg_nsamples=10000, double alpha=0.001)
boost::shared_ptr< probe_mpsk_snr_est_c > sptr
Definition probe_mpsk_snr_est_c.h:65
virtual double noise()=0
Return the estimated noise power in decibels.
virtual double alpha() const =0
Get the running-average coefficient.
virtual int msg_nsample() const =0
Return how many samples between SNR messages.
virtual double snr()=0
Return the estimated signal-to-noise ratio in decibels.
virtual void set_alpha(double alpha)=0
Set the running-average coefficient.
virtual void set_type(snr_est_type_t t)=0
Set type of estimator to use.
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