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]: from scipy import lena


In [2]: import wavepy as wv


In [3]: x=lena()


In [4]: a=int(32)


In [5]: y=wv.misc.per_ext2d(x,a)


In [6]: z=wv.misc.symm_ext2d(x,a)


In [7]: imshow(y,cmap=cm.gray),title('Periodic Extension')

Out[7]:

(<matplotlib.image.AxesImage at 0x273afb0>,

<matplotlib.text.Text at 0x2720c70>)


In [8]: imshow(z,cmap=cm.gray),title('Symmetric Extension')

Out[8]:

(<matplotlib.image.AxesImage at 0x2897290>,

<matplotlib.text.Text at 0x27caf30>)


In [9]: