summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-examples/python')
-rw-r--r--gnuradio-examples/python/hier/dect/gmsk2.py4
-rwxr-xr-xgnuradio-examples/python/usrp/usrp_nbfm_ptt.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-examples/python/hier/dect/gmsk2.py b/gnuradio-examples/python/hier/dect/gmsk2.py
index f7107241f..32569b4d0 100644
--- a/gnuradio-examples/python/hier/dect/gmsk2.py
+++ b/gnuradio-examples/python/hier/dect/gmsk2.py
@@ -27,7 +27,7 @@
from gnuradio import gr
from gnuradio import modulation_utils
from math import pi
-import Numeric
+import numpy
from pprint import pprint
import inspect
@@ -97,7 +97,7 @@ class gmsk2_mod(gr.hier_block2):
)
self.sqwave = (1,) * samples_per_symbol # rectangular window
- self.taps = Numeric.convolve(Numeric.array(self.gaussian_taps),Numeric.array(self.sqwave))
+ self.taps = numpy.convolve(numpy.array(self.gaussian_taps),numpy.array(self.sqwave))
self.gaussian_filter = gr.interp_fir_filter_fff(samples_per_symbol, self.taps)
# FM modulation
diff --git a/gnuradio-examples/python/usrp/usrp_nbfm_ptt.py b/gnuradio-examples/python/usrp/usrp_nbfm_ptt.py
index 798c4a7eb..cfaeef42c 100755
--- a/gnuradio-examples/python/usrp/usrp_nbfm_ptt.py
+++ b/gnuradio-examples/python/usrp/usrp_nbfm_ptt.py
@@ -33,7 +33,7 @@ from gnuradio.eng_option import eng_option
from gnuradio.wxgui import stdgui, fftsink, scopesink, slider, form
from usrpm import usrp_dbid
-from Numeric import convolve, array
+from numpy import convolve, array
#import os
#print "pid =", os.getpid()