Debian Codegraph @

eyes17/code/loadTable.py

raw
1 #import eyes17.eyes # uncomment these two lines while running stand-alone
2 #p = eyes17.eyes.open()
3
4 # Connect WG to A1
5
6 from pylab import *
7
8 x = arange(-256, 256)
9 x = abs(x)
10 p.load_table(x)
11 p.set_wave(400)
12
13 x,y = p.capture1('A1', 500,10)
14 plot(x,y)
15 show()