summaryrefslogtreecommitdiff
path: root/gr-vocoder/python
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-11-06 18:36:47 -0500
committerTom Rondeau <trondeau@vt.edu>2012-11-06 18:36:47 -0500
commitf86c6e0462f8208106d41e4be02b59c66ce50e5a (patch)
treeb84d61d6631c3e90bcb081d0282a5460668e510c /gr-vocoder/python
parentfd110bdbbe8bc40781c34f33c70deec5b7931109 (diff)
analog: removing gr-analog as a required dependency when not actually necessary.
Examples that use gr-analog test for it first.
Diffstat (limited to 'gr-vocoder/python')
-rwxr-xr-xgr-vocoder/python/qa_cvsd_vocoder.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-vocoder/python/qa_cvsd_vocoder.py b/gr-vocoder/python/qa_cvsd_vocoder.py
index 61d434a39f..fc7ba35249 100755
--- a/gr-vocoder/python/qa_cvsd_vocoder.py
+++ b/gr-vocoder/python/qa_cvsd_vocoder.py
@@ -21,7 +21,6 @@
#
from gnuradio import gr, gr_unittest
-import analog_swig as analog
from vocoder_swig import *
from cvsd import *
@@ -96,6 +95,8 @@ class test_cvsd_vocoder (gr_unittest.TestCase):
-0.16035343706607819, 0.014823081903159618,
0.16282452642917633, 0.33802291750907898)
+ # WARNING: not importing analog in this QA code.
+ # If we enable this, we can probably just create a sin with numpy.
src = analog.sig_source_f(sample_rate, analog.GR_SIN_WAVE, 200, 1, 0)
head = gr.head(gr.sizeof_float, 100)
src_scale = gr.multiply_const_ff(scale_factor)