From 5e04c833c0ca0acd15a4a004eb6996b36d344b21 Mon Sep 17 00:00:00 2001 From: x03daop Date: Fri, 10 Feb 2017 14:48:48 +0100 Subject: [PATCH] Script execution --- script/users/DepthProfile-MilosB.py | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/script/users/DepthProfile-MilosB.py b/script/users/DepthProfile-MilosB.py index 340c6f18..a2b5a88b 100644 --- a/script/users/DepthProfile-MilosB.py +++ b/script/users/DepthProfile-MilosB.py @@ -30,16 +30,16 @@ try: Scienta.getHighEnergy().write(222.0) Scienta.getStepSize().write(0.1) Scienta.getStepTime().write(0.2) - Scienta.setIterations(2) + Scienta.setIterations(4) Eph.move(505.0) theta = [-9.0,6.0,21.0,31.0,41.0,51.0,61.0,71.0] - x = [2.57*math.cos((th+9.0)*math.pi/180.0)-2.67 for th in theta] - y = [2.57*math.sin((th+9.0)*math.pi/180.0)-0.2 for th in theta] + x = [2.52*math.cos((th+9.0)*math.pi/180.0)-2.67 for th in theta] + y = [2.52*math.sin((th+9.0)*math.pi/180.0)-0.2 for th in theta] VECTOR = [[theta[i], x[i], y[i]] for i in range(len(theta))] vscan(writables, SENSORS, VECTOR, True, LATENCY, False, before_read=before_readout, after_read = after_readout) - # Zn + """# Zn Scienta.getLowEnergy().write(175.0) Scienta.getHighEnergy().write(220.0) Scienta.getStepSize().write(0.1) @@ -51,9 +51,23 @@ try: x = [2.57*math.cos((th+9.0)*math.pi/180.0)-2.67 for th in theta] y = [2.57*math.sin((th+9.0)*math.pi/180.0)-0.2 for th in theta] VECTOR = [[theta[i], x[i], y[i]] for i in range(len(theta))] + vscan(writables, SENSORS, VECTOR, True, LATENCY, False, before_read=before_readout, after_read = after_readout)""" + + # Fe + Scienta.getLowEnergy().write(180.0) + Scienta.getHighEnergy().write(225.0) + Scienta.getStepSize().write(0.1) + Scienta.getStepTime().write(1.0) + Scienta.setIterations(8) + Eph.move(925.0) + + theta = [-9.0,6.0,21.0,31.0,41.0,51.0,61.0,71.0] + x = [2.52*math.cos((th+9.0)*math.pi/180.0)-2.67 for th in theta] + y = [2.52*math.sin((th+9.0)*math.pi/180.0)-0.2 for th in theta] + VECTOR = [[theta[i], x[i], y[i]] for i in range(len(theta))] vscan(writables, SENSORS, VECTOR, True, LATENCY, False, before_read=before_readout, after_read = after_readout) - # Mn + """# Mn Scienta.getLowEnergy().write(175.0) Scienta.getHighEnergy().write(235.0) Scienta.getStepSize().write(0.1) @@ -65,6 +79,6 @@ try: x = [2.57*math.cos((th+9.0)*math.pi/180.0)-2.67 for th in theta] y = [2.57*math.sin((th+9.0)*math.pi/180.0)-0.2 for th in theta] VECTOR = [[theta[i], x[i], y[i]] for i in range(len(theta))] - vscan(writables, SENSORS, VECTOR, True, LATENCY, False, before_read=before_readout, after_read = after_readout) + vscan(writables, SENSORS, VECTOR, True, LATENCY, False, before_read=before_readout, after_read = after_readout)""" finally: after_scan()