This commit is contained in:
gac-x11ma
2019-09-30 16:09:20 +02:00
parent d600f2e5b7
commit 2a33844de7
4 changed files with 73 additions and 15 deletions
+4 -2
View File
@@ -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()
+54
View File
@@ -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
# '''
+1
View File
@@ -0,0 +1 @@
print('test')