adjusted accuracy and used undulators

This commit is contained in:
2021-06-23 19:00:59 +02:00
parent b36a635f46
commit 6b65e967e4

View File

@ -9,12 +9,13 @@ from slic.core.scanner.scanbackend import wait_for_all #, stop_all
# 14 is the CHIC # 14 is the CHIC
n_unds = [ 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 15, 16, 17, 18, 19, 20, 21, 22
] ]
und_names = [f"SATUN{n:02}-UIND030" for n in n_unds] 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): class Undulator(PVAdjustable):
def __init__(self, name, accuracy=0.0001): def __init__(self, name, accuracy=0.0005):
pvname_setvalue = name + ":K_SET" pvname_setvalue = name + ":K_SET"
pvname_readback = name + ":K_READ" pvname_readback = name + ":K_READ"
super().__init__(pvname_setvalue, pvname_readback=pvname_readback, accuracy=accuracy, active_move=True, name=name) super().__init__(pvname_setvalue, pvname_readback=pvname_readback, accuracy=accuracy, active_move=True, name=name)