Closedown

This commit is contained in:
boccioli_m
2015-05-29 11:24:05 +02:00
parent 559271e820
commit 364def627b
24 changed files with 866 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
"""
Processing and plotting scan data
"""
inp.write(0.0)
scan1= lscan(inp, (sin,out,arr), 0, 40, 20, 0.1, False, "Scan 1")
scan2= lscan(inp, (sin,out,arr), 0, 40, 20, 0.1, 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