diff options
author | eb | 2006-10-31 16:07:47 +0000 |
---|---|---|
committer | eb | 2006-10-31 16:07:47 +0000 |
commit | 2c1032480d2874f38af9b5b9d18e753e968619e5 (patch) | |
tree | 6f910bda577337475ffc4a53ad94c026f480f026 /gr-error-correcting-codes | |
parent | 3695548d8598f524dd203f7dfc4f73f301b7282a (diff) | |
download | gnuradio-2c1032480d2874f38af9b5b9d18e753e968619e5.tar.gz gnuradio-2c1032480d2874f38af9b5b9d18e753e968619e5.tar.bz2 gnuradio-2c1032480d2874f38af9b5b9d18e753e968619e5.zip |
Merged eb/binstats -r3848:3906 into trunk. These changes
(1) fix a problem with gr_feval* where when called from a live
flowgraph, they resulted in the call back into Python occuring without
holding the Global Interpreter Lock causing a SIGSEGV.
(2) add gr_bin_statistics_f which combines statistics gathering
with a control state machine that allows spectrum sensing or related
applications that need to step through the spectrum to be built.
(3) usrp_spectrum_sense.py which ties all this together in an
application which steps through the spectrum a chunk at a time and
gathers statistics. In the current version, the stats are gathered by
nothing is done with them. Think of this as the framework for a real
application. This code may require tuning of the --tune-delay and
--dwell-delay timeouts to ensure that the samples being processed are
associated with the given center frequency.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3907 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-error-correcting-codes')
-rw-r--r-- | gr-error-correcting-codes/src/lib/ecc_syms_to_metrics.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-error-correcting-codes/src/lib/ecc_syms_to_metrics.cc b/gr-error-correcting-codes/src/lib/ecc_syms_to_metrics.cc index bfe44f17a..78be73533 100644 --- a/gr-error-correcting-codes/src/lib/ecc_syms_to_metrics.cc +++ b/gr-error-correcting-codes/src/lib/ecc_syms_to_metrics.cc @@ -55,12 +55,12 @@ static gr_feval_dd* l_pdf_fcn_1_bit; static double pdf_fcn_0 (double x) { - return (l_pdf_fcn_0_bit->eval (x)); + return (l_pdf_fcn_0_bit->calleval (x)); } static double pdf_fcn_1 (double x) { - return (l_pdf_fcn_1_bit->eval (x)); + return (l_pdf_fcn_1_bit->calleval (x)); } ecc_syms_to_metrics::ecc_syms_to_metrics |