#!/usr/bin/env python
#
-# Copyright 2005 Free Software Foundation, Inc.
+# Copyright 2005,2007 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
import tempfile
import os
import math
-import Numeric
+import numpy
from gnuradio import gr
from gnuradio.gruimpl.freqz import freqz
cmd_file = os.popen ('gnuplot', 'w')
h, w = hw
- ampl = 20 * Numeric.log10 (Numeric.absolute (h) + 1e-9)
+ ampl = 20 * numpy.log10 (numpy.absolute (h) + 1e-9)
phase = map (lambda x: math.atan2 (x.imag, x.real), h)
if Fs: