diff options
author | Tom Rondeau <trondeau@vt.edu> | 2011-12-30 11:04:48 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2011-12-30 11:11:02 -0500 |
commit | a4d62472975aaeb50fa96c360c4b24d3ad84cf6e (patch) | |
tree | 97f23adf7b9883d7b8039a0876aca66a0125a008 /gr-digital/swig | |
parent | 0bf8934a7f1bf41916a5f7562b250c18a87034c7 (diff) |
digital: the SNR estimator block now issues a tag with the SNR (key = 'snr'). The number of samples between when the tag is sent is set in the constructor (default = 10000) and can be changed.
Diffstat (limited to 'gr-digital/swig')
-rw-r--r-- | gr-digital/swig/digital_mpsk_snr_est_cc.i | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-digital/swig/digital_mpsk_snr_est_cc.i b/gr-digital/swig/digital_mpsk_snr_est_cc.i index 947c5ab86a..b0fc6bccf7 100644 --- a/gr-digital/swig/digital_mpsk_snr_est_cc.i +++ b/gr-digital/swig/digital_mpsk_snr_est_cc.i @@ -24,12 +24,14 @@ GR_SWIG_BLOCK_MAGIC(digital,mpsk_snr_est_cc); digital_mpsk_snr_est_cc_sptr digital_make_mpsk_snr_est_cc(snr_est_type_t type, + int tag_nsamples=10000, double alpha=0.001); class digital_mpsk_snr_est_cc : public gr_sync_block { private: void digital_mpsk_snr_est_cc(snr_est_type_t type, + int tag_nsamples, double alpha); public: |