Files
x11ma/script/test/otf_test.py
2019-05-17 11:06:17 +02:00

29 lines
1.0 KiB
Python

#otf(start=520, end=570, time=5, delay=5.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
#otf(start=480, end=510, time=5, delay=5.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
#otf(start=270, end=320, time=1, delay=5.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
otf(start=120, end=180, time=10, delay=5.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
''' night acquisition Sn M-edge + O K-edge
nr_loops=1000
loop_count = 0
while loop_count < nr_loops:
caput('X11MA-KEI12:RANGE', 10)
otf(start=480, end=510, time=5, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
caput('X11MA-KEI12:RANGE', 9)
otf(start=520, end=570, time=5, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
loop_count = loop_count + 1
# '''
''' repeating scans
nr_loops=5
loop_count = 0
while loop_count < nr_loops:
otf(start=270, end=320, time=5, delay=5, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
loop_count = loop_count + 1
'''