#include <gr_probe_mpsk_snr_c.h>
Public Member Functions | |
~gr_probe_mpsk_snr_c () | |
int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
just like gr_block::general_work, only this arranges to call consume_each for you | |
double | signal_mean () const |
double | noise_variance () const |
double | snr () const |
void | set_alpha (double alpha) |
Friends | |
gr_probe_mpsk_snr_c_sptr | gr_make_probe_mpsk_snr_c (double alpha) |
This technique assumes an AWGN channel.
alpha | Mean and variance smoothing filter constant |
This SNR estimator is inaccurate below about 7dB SNR.
gr_probe_mpsk_snr_c::~gr_probe_mpsk_snr_c | ( | ) |
double gr_probe_mpsk_snr_c::noise_variance | ( | ) | const [inline] |
void gr_probe_mpsk_snr_c::set_alpha | ( | double | alpha | ) |
double gr_probe_mpsk_snr_c::signal_mean | ( | ) | const [inline] |
double gr_probe_mpsk_snr_c::snr | ( | ) | const |
int gr_probe_mpsk_snr_c::work | ( | int | noutput_items, | |
gr_vector_const_void_star & | input_items, | |||
gr_vector_void_star & | output_items | |||
) | [virtual] |
just like gr_block::general_work, only this arranges to call consume_each for you
The user must override work to define the signal processing code
Implements gr_sync_block.
gr_probe_mpsk_snr_c_sptr gr_make_probe_mpsk_snr_c | ( | double | alpha | ) | [friend] |