 |
GNU Radio Manual and C++ API Reference
3.8.2.0
The Free & Open Software Radio Ecosystem
|
|
Go to the documentation of this file.
23 #ifndef INCLUDED_DIGITAL_PROBE_MPSK_SNR_EST_C_H
24 #define INCLUDED_DIGITAL_PROBE_MPSK_SNR_EST_C_H
63 typedef boost::shared_ptr<probe_mpsk_snr_est_c>
sptr;
79 virtual double snr() = 0;
94 virtual double alpha()
const = 0;
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.
A probe for computing SNR of a PSK signal.
Definition: probe_mpsk_snr_est_c.h:60
virtual int msg_nsample() const =0
Return how many samples between SNR messages.
virtual double signal()=0
Return the estimated signal power in decibels.
virtual double noise()=0
Return the estimated noise power in decibels.
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
static sptr make(snr_est_type_t type, int msg_nsamples=10000, double alpha=0.001)
virtual void set_msg_nsample(int n)=0
Set the number of samples between SNR messages.
virtual double alpha() const =0
Get the running-average coefficient.
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
boost::shared_ptr< probe_mpsk_snr_est_c > sptr
Definition: probe_mpsk_snr_est_c.h:63
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.