From da4decea9b81bf48ac3a74220ad29d3c804d5e12 Mon Sep 17 00:00:00 2001 From: gac-x11ma Date: Sun, 6 Oct 2019 21:49:15 +0200 Subject: [PATCH] Script execution --- script/test/otf_post_mortem.py | 56 ++++++++++++++++++++++++++++++++-- 1 file changed, 53 insertions(+), 3 deletions(-) diff --git a/script/test/otf_post_mortem.py b/script/test/otf_post_mortem.py index 5f13c3f..4bcbf91 100644 --- a/script/test/otf_post_mortem.py +++ b/script/test/otf_post_mortem.py @@ -24,8 +24,58 @@ while loop_count < nr_loops: ''' +#'''# sample Cu +# scans C +caput('X11MA-KEI10:RANGE', 7) +caput('X11MA-KEI11:RANGE', 8) +caput('X11MA-KEI12:RANGE', 10) +nr_loops=3 +loop_count = 0 +while loop_count < nr_loops: + otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='s2_Cu_met-C_reference-C', folder='data/2019_10/postmortem') + loop_count = loop_count + 1 -#'''# sample LCO +# scans O +caput('X11MA-KEI10:RANGE', 6) +caput('X11MA-KEI11:RANGE', 7) +caput('X11MA-KEI12:RANGE', 9) +nr_loops=2 +loop_count = 0 +while loop_count < nr_loops: + otf(start=520, end=570, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='s2_Cu_met-C_reference-O', folder='data/2019_10/postmortem') + loop_count = loop_count + 1 + +# scans Cu +caput('X11MA-KEI10:RANGE', 7) +caput('X11MA-KEI11:RANGE', 8) +caput('X11MA-KEI12:RANGE', 9) +nr_loops=5 +loop_count = 0 +while loop_count < nr_loops: + otf(start=920, end=970, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='s2_Cu_met-C_reference-Cu', folder='data/2019_10/postmortem') + loop_count = loop_count + 1 + + +# scans Survey +caput('X11MA-KEI10:RANGE', 6) +caput('X11MA-KEI11:RANGE', 8) +caput('X11MA-KEI12:RANGE', 9) +nr_loops=2 +loop_count = 0 +while loop_count < nr_loops: + otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='s2_Cu_met-C_reference-Survey', folder='data/2019_10/postmortem') + loop_count = loop_count + 1 + +#''' + + + + + + + + +'''# sample LCO # scans C caput('X11MA-KEI10:RANGE', 7) caput('X11MA-KEI11:RANGE', 8) @@ -36,7 +86,7 @@ while loop_count < nr_loops: otf(start=270, end=320, time=2, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='s1_CoSO4_reference-C', folder='data/2019_10/postmortem') loop_count = loop_count + 1 -'''# scans Survey +# scans Survey caput('X11MA-KEI10:RANGE', 6) caput('X11MA-KEI11:RANGE', 8) caput('X11MA-KEI12:RANGE', 9) @@ -45,7 +95,7 @@ loop_count = 0 while loop_count < nr_loops: otf(start=500, end=900, time=3, delay=10, mode='LINEAR', alpha = 0.0, offset=0.0, name='s1_CoSO4_reference-Survey', folder='data/2019_10/postmortem') loop_count = loop_count + 1 -''' + # scans Co caput('X11MA-KEI10:RANGE', 7) caput('X11MA-KEI11:RANGE', 8)