1. Christopher Felton
  2. examples

Commits

Christopher Felton  committed f0e7cc0

fixed the arange scope type-o

  • Participants
  • Parent commits 69a0961
  • Branches default

Comments (0)

Files changed (1)

File snippets/halfband/halfband.py

View file
  • Ignore whitespace
 #       MPL artist (pyplot) functions.
 fig = mpl.pyplot.figure()
 ax0 = fig.add_subplot(211)
-ax0.stem(arange(len(h)), h)
+ax0.stem(numpy.arange(len(h)), h)
 ax0.grid(True)
 ax0.set_title('Parks-McClellan (remez) Impulse Response')
 ax1 = fig.add_subplot(212)
-ax1.stem(arange(len(b)), b)
+ax1.stem(numpy.arange(len(b)), b)
 ax1.set_title('Windowed Frequency Sampling (firwin) Impulse Response')
 ax1.grid(True)
 fig.savefig('hb_imp.png')