Files
dev/script/ScanTypes.py
2018-01-19 10:56:53 +01:00

28 lines
828 B
Python
Executable File

#Line scan
r1 = lscan(ao1, (ai1,wf1), 0, 40, 100, 0.01)
#Time scan
r = tscan((m1,wf1), 100, 0.01)
#Area scan
r = ascan((m1,m2), (ai1,wf1), (0.0,0.0), (1.0,0.5), (5,8))
#1D-vector scan
vector = [ 1, 3, 5, 10, 25, 40, 45, 47, 49]
r = vscan(ao1,(ai1,ai2),vector,False, 0.5, title = "1D Vector")
#2D-vector scan
vector = [ [1,1] , [1,2] , [1,3] , [1,4] ,
[1.5,2.5] ,
[2,1] , [2,2] , [2,3] , [2,4] ,
[2.5,2.5] ,
[3,1] , [3,2] , [3,3] , [3,4] ]
r = vscan((m1,m2),(ai1,ai2),vector,False, 0.01, title = "2D Vector")
#Region scan
r = rscan(ao1, (ai1,ai2), [(0,5,5), (10,15,20), (20,25,5)] , 0.1)
#Continuous scan
r = cscan(m1, (ai1,ai2), -2, 3 , steps=10, relative=True)
#And also hardware scan (hscan)...