11 #ifndef INCLUDED_DIGITAL_PROBE_MPSK_SNR_EST_C_H
12 #define INCLUDED_DIGITAL_PROBE_MPSK_SNR_EST_C_H
53 typedef std::shared_ptr<probe_mpsk_snr_est_c>
sptr;
70 virtual double snr() = 0;
85 virtual double alpha()
const = 0;
A probe for computing SNR of a PSK signal.
Definition: probe_mpsk_snr_est_c.h:50
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)
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.
std::shared_ptr< probe_mpsk_snr_est_c > sptr
Definition: probe_mpsk_snr_est_c.h:53
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:26
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29