New ScreenPanel
This commit is contained in:
16
script/ScanDataManipulation.py
Executable file
16
script/ScanDataManipulation.py
Executable file
@@ -0,0 +1,16 @@
|
||||
###################################################################################################
|
||||
# Processing and plotting scan data.
|
||||
###################################################################################################
|
||||
|
||||
|
||||
ao1.write(0.0)
|
||||
scan1= lscan(ao1, (ai1,ai2,wf1), 0, 40, 40, 0.01, False, title="Scan 1")
|
||||
scan2= lscan(ao1, (ai1,ai2,wf1), 0, 40, 40, 0.01, False, title="Scan 2")
|
||||
|
||||
|
||||
from operator import add
|
||||
result = map(add, scan1.getReadable(0), scan2.getReadable(0))
|
||||
|
||||
plot(result)
|
||||
print result
|
||||
|
||||
Reference in New Issue
Block a user