Files
x11ma/script/test/otf_test.py
2021-03-12 12:19:10 +01:00

51 lines
1.6 KiB
Python
Executable File

#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=2.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')
''' long 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=900, 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 C
caput('X11MA-KEI12:RANGE', 10)
nr_loops=2
loop_count = 0
while loop_count < nr_loops:
otf(start=270, end=320, time=5, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
loop_count = loop_count + 1
# '''
''' repeating scans Sn
caput('X11MA-KEI12:RANGE', 10)
nr_loops=5
loop_count = 0
while loop_count < nr_loops:
otf(start=480, end=510, time=5, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
loop_count = loop_count + 1
# '''
''' repeating scans O
caput('X11MA-KEI12:RANGE', 9)
nr_loops=2
loop_count = 0
while loop_count < nr_loops:
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
# '''