New ScreenPanel
This commit is contained in:
28
script/ScanTypes.py
Executable file
28
script/ScanTypes.py
Executable file
@@ -0,0 +1,28 @@
|
||||
#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)...
|
||||
Reference in New Issue
Block a user