This commit is contained in:
boccioli_m
2015-09-02 10:39:31 +02:00
parent 3936d45b5e
commit 79e9aac763
748 changed files with 684 additions and 53722 deletions

View File

@@ -0,0 +1,21 @@
"""
Processing and plotting scan data.
"""
ao1.write(0.0)
scan1= lscan(ao1, (ai1,ai2,wf1), 0, 40, 40, 0.01, False, "Scan 1")
scan2= lscan(ao1, (ai1,ai2,wf1), 0, 40, 40, 0.01, False, "Scan 2")
from operator import add
result = map(add, scan1.getReadable(0), scan2.getReadable(0))
#Alternative:
#result=[]
#for i in range(len(scan1.records)):
# result.append(scan1.records[i].values[0]+scan2.records[i].values[0])
plot(result)
print result