From 0b90ffd6a8cee7b411190a157cdc21f614eecd8d Mon Sep 17 00:00:00 2001 From: panepucci Date: Wed, 17 Feb 2016 12:08:55 +0100 Subject: [PATCH] Closedown --- script/sete.py | 5 ++--- script/seteq.py | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/script/sete.py b/script/sete.py index 009375e..7f6fd5f 100644 --- a/script/sete.py +++ b/script/sete.py @@ -40,9 +40,9 @@ act = 0 # do a setenergy to move theta 1 and 2 to calculated position in case they are not synchronized. theta1 = caget('X06DA-OP-MO1:ROX1.RBV', 'd') -etheta1 = A2E(abs(theta1),1,1,1,True) +etheta1 = a2e(abs(theta1),1,1,1,True) theta2 = caget('X06DA-OP-MO1:ROX2.RBV', 'd') -etheta2 = A2E(ABS(theta2),1,1,1,True) +etheta2 = a2e(ABS(theta2),1,1,1,True) if abs (etheta1-etheta2) > 0.01: set_energy(e) @@ -68,7 +68,6 @@ if all: #-------- rock FIRST crystal until its peak is reached ------------- ff = 1 while ff: -def rock(axis = th1, ffail = False, tt = 0.2, seti0 = False, dx = None, noref = False): rock() #TODO: #ROCK,1,dt = (dE>1.)*4e-2/e,ffail=ff # finer final rock diff --git a/script/seteq.py b/script/seteq.py index e69de29..f908e07 100644 --- a/script/seteq.py +++ b/script/seteq.py @@ -0,0 +1,2 @@ +def seteq(e): + pass \ No newline at end of file