Debian Codegraph @

eyes17/code/RLtransient.py

raw
1 #import eyes17.eyes # uncomment these two lines while running stand-alone
2 #p = eyes17.eyes.open()
3
4 from pylab import *
5 import time
6
7
8 plot([0,.5], [0,0], color='black')
9 ylim([-5,5])
10
11
12 p.set_state(OD1=1) # OD1 to LOW
13 time.sleep(.5)
14 t,v = p.capture_action('A1', 100, 5, 'SET_LOW')
15
16 plot(t,v,linewidth = 2, color = 'red')
17 show()