Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)]

Type "copyright", "credits" or "license" for more information.


IPython 0.12.dev -- An enhanced Interactive Python.

? -> Introduction and overview of IPython's features.

%quickref -> Quick reference.

help -> Python's own help system.

object? -> Details about 'object', use 'object??' for extra details.

%guiref -> A brief reference about the graphical user interface.


In [1]: import wavepy as wv


In [2]: name='db6'


In [3]: [lp1,hp1,lp2,hp2]=wv.filter.filtcoef(name)


In [4]: length=len(lp1)


In [5]: x=arange(length)


In [6]: ymin=zeros(length)


In [7]: vlines(x,ymin,lp1),title('Deconposition Low Pass Filter')

Out[7]:

(<matplotlib.collections.LineCollection at 0x266aef0>,

<matplotlib.text.Text at 0x267fb10>)


In [8]: vlines(x,ymin,hp1),title('Decomposition High Pass Filter')

Out[8]:

(<matplotlib.collections.LineCollection at 0x27202d0>,

<matplotlib.text.Text at 0x27835b0>)


In [9]: vlines(x,ymin,lp2),title('Reconstruction Low Pass Filter')

Out[9]:

(<matplotlib.collections.LineCollection at 0x27aaf90>,

<matplotlib.text.Text at 0x29af2f0>)


In [10]: vlines(x,ymin,hp2),title('Reconstruction High Pass Filter')

Out[10]:

(<matplotlib.collections.LineCollection at 0x294da90>,

<matplotlib.text.Text at 0x296fcd0>)


In [11]: