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]: x=arange(64)


In [2]: a=int(16)


In [3]: import wavepy as wv


In [4]: y=wv.misc.per_ext(x,a)


In [5]: z=wv.misc.symm_ext(x,a)


In [6]: plot(x),title('Signal')

Out[6]: ([<matplotlib.lines.Line2D at 0x2667eb0>], <matplotlib.text.Text at 0x267dad0>)


In [7]: plot(y),title('Periodic Extension')

Out[7]: ([<matplotlib.lines.Line2D at 0x272c310>], <matplotlib.text.Text at 0x277d6d0>)


In [8]: plot(z),title('Symmetric Extension')

Out[8]: ([<matplotlib.lines.Line2D at 0x27ab930>], <matplotlib.text.Text at 0x2922b50>)


In [9]: