summaryrefslogtreecommitdiff
path: root/gr-analog/python
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-11-06 14:28:22 -0500
committerTom Rondeau <trondeau@vt.edu>2012-11-06 14:40:43 -0500
commitfd110bdbbe8bc40781c34f33c70deec5b7931109 (patch)
treeef18e813add19b09c57cc21cb672ea602701405b /gr-analog/python
parent0c9c16fb008b02a5af39fb22e18acfff2dbd933a (diff)
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.
Diffstat (limited to 'gr-analog/python')
-rwxr-xr-xgr-analog/python/qa_agc.py20
-rwxr-xr-xgr-analog/python/qa_fmdet.py2
-rwxr-xr-xgr-analog/python/qa_pll_carriertracking.py2
-rwxr-xr-xgr-analog/python/qa_pll_freqdet.py2
-rwxr-xr-xgr-analog/python/qa_pll_refout.py2
5 files changed, 14 insertions, 14 deletions
diff --git a/gr-analog/python/qa_agc.py b/gr-analog/python/qa_agc.py
index dc4922cf84..2733ed3fae 100755
--- a/gr-analog/python/qa_agc.py
+++ b/gr-analog/python/qa_agc.py
@@ -105,8 +105,8 @@ class test_agc (gr_unittest.TestCase):
(1.26766037940979-0.92100900411605835j))
sampling_freq = 100
- src1 = gr.sig_source_c(sampling_freq, gr.GR_SIN_WAVE,
- sampling_freq * 0.10, 100.0)
+ src1 = analog.sig_source_c(sampling_freq, analog.GR_SIN_WAVE,
+ sampling_freq * 0.10, 100.0)
dst1 = gr.vector_sink_c()
head = gr.head(gr.sizeof_gr_complex, int (5*sampling_freq * 0.10))
@@ -193,8 +193,8 @@ class test_agc (gr_unittest.TestCase):
-3.3931560516357422)
sampling_freq = 100
- src1 = gr.sig_source_f (sampling_freq, gr.GR_SIN_WAVE,
- sampling_freq * 0.10, 100.0)
+ src1 = analog.sig_source_f(sampling_freq, analog.GR_SIN_WAVE,
+ sampling_freq * 0.10, 100.0)
dst1 = gr.vector_sink_f ()
head = gr.head (gr.sizeof_float, int (5*sampling_freq * 0.10))
@@ -283,8 +283,8 @@ class test_agc (gr_unittest.TestCase):
(0.80901449918746948-0.5877833366394043j))
sampling_freq = 100
- src1 = gr.sig_source_c(sampling_freq, gr.GR_SIN_WAVE,
- sampling_freq * 0.10, 100)
+ src1 = analog.sig_source_c(sampling_freq, analog.GR_SIN_WAVE,
+ sampling_freq * 0.10, 100)
dst1 = gr.vector_sink_c()
head = gr.head(gr.sizeof_gr_complex, int(5*sampling_freq * 0.10))
@@ -373,8 +373,8 @@ class test_agc (gr_unittest.TestCase):
-0.61937344074249268)
sampling_freq = 100
- src1 = gr.sig_source_f(sampling_freq, gr.GR_SIN_WAVE,
- sampling_freq * 0.10, 100)
+ src1 = analog.sig_source_f(sampling_freq, analog.GR_SIN_WAVE,
+ sampling_freq * 0.10, 100)
dst1 = gr.vector_sink_f()
head = gr.head(gr.sizeof_float, int(5*sampling_freq * 0.10))
@@ -449,8 +449,8 @@ class test_agc (gr_unittest.TestCase):
(0.80901449918746948-0.5877833366394043j))
sampling_freq = 100
- src1 = gr.sig_source_c(sampling_freq, gr.GR_SIN_WAVE,
- sampling_freq * 0.10, 100)
+ src1 = analog.sig_source_c(sampling_freq, analog.GR_SIN_WAVE,
+ sampling_freq * 0.10, 100)
dst1 = gr.vector_sink_c()
head = gr.head(gr.sizeof_gr_complex, int(5*sampling_freq * 0.10))
diff --git a/gr-analog/python/qa_fmdet.py b/gr-analog/python/qa_fmdet.py
index b90ef2ffa4..a76ac1d247 100755
--- a/gr-analog/python/qa_fmdet.py
+++ b/gr-analog/python/qa_fmdet.py
@@ -62,7 +62,7 @@ class test_fmdet_cf(gr_unittest.TestCase):
# block is saying, not what the values should actually be.
def est_fmdet_cf_002(self):
N = 100
- src = gr.sig_source_c(1, gr.GR_SIN_WAVE, 0.2, 1)
+ src = analog.sig_source_c(1, analog.GR_SIN_WAVE, 0.2, 1)
head = gr.head(gr.sizeof_gr_complex, N)
op = analog.fmdet_cf(1, 0.1, 0.3, 0.1)
dst = gr.vector_sink_f()
diff --git a/gr-analog/python/qa_pll_carriertracking.py b/gr-analog/python/qa_pll_carriertracking.py
index a292059d1b..e383639d49 100755
--- a/gr-analog/python/qa_pll_carriertracking.py
+++ b/gr-analog/python/qa_pll_carriertracking.py
@@ -141,7 +141,7 @@ class test_pll_carriertracking(gr_unittest.TestCase):
maxf = 1
minf = -1
- src = gr.sig_source_c(sampling_freq, gr.GR_COS_WAVE, freq, 1.0)
+ src = analog.sig_source_c(sampling_freq, analog.GR_COS_WAVE, freq, 1.0)
pll = analog.pll_carriertracking_cc(loop_bw, maxf, minf)
head = gr.head(gr.sizeof_gr_complex, int (freq))
dst = gr.vector_sink_c()
diff --git a/gr-analog/python/qa_pll_freqdet.py b/gr-analog/python/qa_pll_freqdet.py
index 1f808afa61..cc8757c965 100755
--- a/gr-analog/python/qa_pll_freqdet.py
+++ b/gr-analog/python/qa_pll_freqdet.py
@@ -141,7 +141,7 @@ class test_pll_freqdet(gr_unittest.TestCase):
maxf = 1
minf = -1
- src = gr.sig_source_c(sampling_freq, gr.GR_COS_WAVE, freq, 1.0)
+ src = analog.sig_source_c(sampling_freq, analog.GR_COS_WAVE, freq, 1.0)
pll = analog.pll_freqdet_cf(loop_bw, maxf, minf)
head = gr.head(gr.sizeof_float, int (freq))
dst = gr.vector_sink_f()
diff --git a/gr-analog/python/qa_pll_refout.py b/gr-analog/python/qa_pll_refout.py
index 2831b2909d..c63136bc0c 100755
--- a/gr-analog/python/qa_pll_refout.py
+++ b/gr-analog/python/qa_pll_refout.py
@@ -141,7 +141,7 @@ class test_pll_refout(gr_unittest.TestCase):
maxf = 1
minf = -1
- src = gr.sig_source_c(sampling_freq, gr.GR_COS_WAVE, freq, 1.0)
+ src = analog.sig_source_c(sampling_freq, analog.GR_COS_WAVE, freq, 1.0)
pll = analog.pll_refout_cc(loop_bw, maxf, minf)
head = gr.head(gr.sizeof_gr_complex, int (freq))
dst = gr.vector_sink_c()