Startup
This commit is contained in:
@@ -3,17 +3,19 @@ import time
|
||||
|
||||
#Parameters
|
||||
"""
|
||||
E1 = 510
|
||||
E1 = 800
|
||||
E2 = 590
|
||||
TIME = 1 #min
|
||||
DELAY = 2.0 #s
|
||||
MODE = 'CIRC +'
|
||||
OFFSET = -9.0
|
||||
FOLDER = 'TEST'
|
||||
FOLDER = '/sls/X11MA/data/X11MA/XAS/20190930/o_XAS_NCM111'
|
||||
FILE = 'pshell-test'
|
||||
ALPHA=0
|
||||
"""
|
||||
|
||||
FOLDER = 'XAS/20190930/o_XAS_NCM111'
|
||||
FILE = 'o_NCM111'
|
||||
|
||||
count.initialize()
|
||||
data.initialize()
|
||||
|
||||
@@ -0,0 +1,54 @@
|
||||
otf(start=845, end=885, time=1, delay=5.0, mode='LINEAR', alpha = 0.0, offset=0.0, name='pshell-test')
|
||||
|
||||
|
||||
#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
|
||||
|
||||
# '''
|
||||
@@ -0,0 +1 @@
|
||||
print('test')
|
||||
Reference in New Issue
Block a user