From fd110bdbbe8bc40781c34f33c70deec5b7931109 Mon Sep 17 00:00:00 2001 From: Tom Rondeau <trondeau@vt.edu> Date: Tue, 6 Nov 2012 14:28:22 -0500 Subject: analog: Removing reference to gr.sig_source_X and gr.noise_source_X where possible. Passing make and make test. Examples and apps need testing. gr-filter relies on sig_source and noise_source, so can't remove them from core. --- gr-trellis/src/examples/python/test_tcm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gr-trellis/src/examples/python/test_tcm.py') diff --git a/gr-trellis/src/examples/python/test_tcm.py b/gr-trellis/src/examples/python/test_tcm.py index eff93f5b4e..0d1c657beb 100755 --- a/gr-trellis/src/examples/python/test_tcm.py +++ b/gr-trellis/src/examples/python/test_tcm.py @@ -2,6 +2,7 @@ from gnuradio import gr from gnuradio import trellis, digital +from gnuradio import analog from gnuradio import eng_notation import math import sys @@ -28,7 +29,7 @@ def run_test (f,Kb,bitspersymbol,K,dimensionality,constellation,N0,seed): # CHANNEL add = gr.add_ff() - noise = gr.noise_source_f(gr.GR_GAUSSIAN,math.sqrt(N0/2),seed) + noise = analog.noise_source_f(analog.GR_GAUSSIAN,math.sqrt(N0/2),seed) # RX metrics = trellis.metrics_f(f.O(),dimensionality,constellation,digital.TRELLIS_EUCLIDEAN) # data preprocessing to generate metrics for Viterbi -- cgit v1.2.3