This commit is contained in:
x03daop
2015-09-01 10:09:12 +02:00
parent e104c934af
commit f3c57cbe5a
26 changed files with 789 additions and 11 deletions

View File

@@ -0,0 +1,12 @@
"""
Demonstrate use of Relative Line Scan.
The arguments start and end are relative to the current position.
After the scan the positioner(s) move back to the initial position.
"""
print "Initial position = " + str(m1.position)
a= lscan(m1, (ai1,ai2,wf1,im1), start = -2, end =2, steps = 20, relative = True)
print "Final position = " + str(m1.position)