From 6b65e967e4eaf48ea3edd970548f1e6b81260476 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Wed, 23 Jun 2021 19:00:59 +0200 Subject: [PATCH] adjusted accuracy and used undulators --- devices/undulator.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/devices/undulator.py b/devices/undulator.py index e01b41d..895401f 100644 --- a/devices/undulator.py +++ b/devices/undulator.py @@ -9,12 +9,13 @@ from slic.core.scanner.scanbackend import wait_for_all #, stop_all # 14 is the CHIC n_unds = [ - 6, 7, 8, 9, 10, 11, 12, 13, + #6, 7, 8, 9, 10, 11, 12, + 13, 15, 16, 17, 18, 19, 20, 21, 22 ] und_names = [f"SATUN{n:02}-UIND030" for n in n_unds] -und_name_cal = "SATUN12-UIND030" +und_name_cal = "SATUN13-UIND030" @@ -93,7 +94,7 @@ class Undulators(Adjustable): class Undulator(PVAdjustable): - def __init__(self, name, accuracy=0.0001): + def __init__(self, name, accuracy=0.0005): pvname_setvalue = name + ":K_SET" pvname_readback = name + ":K_READ" super().__init__(pvname_setvalue, pvname_readback=pvname_readback, accuracy=accuracy, active_move=True, name=name)