Skip to content

Commit eaff402

Browse files
committed
[TASK] making mls twin runnable
1 parent e6ab762 commit eaff402

File tree

13 files changed

+7389
-20
lines changed

13 files changed

+7389
-20
lines changed

src/dt4acc/core/accelerators/accelerator_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def initialize(self):
4646
"""
4747
try:
4848
from lat2db.model.accelerator import Accelerator
49-
acc_model = Accelerator(file_name ="bessyii_lattice_json.json", from_json= True)
49+
acc_model = Accelerator(file_name ="mls_lattice_json.json", from_json= True)
5050

5151
# Initialize the accelerator with required components
5252
self.accelerator = AcceleratorImpl(

src/dt4acc/custom_epics/data/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from dataclasses import dataclass
22

3-
cavity_names = ["CAVH4T8R", "CAVH3T8R", "CAVH2T8R", "CAVH1T8R"]
3+
cavity_names = ["CAV"]
44
#bessy ii defaults
55

66
@dataclass
@@ -9,7 +9,7 @@ class Ringparameters:
99
brho: float
1010
energy: float
1111

12-
ring_parameters = Ringparameters(freq=0.0, brho=5.67229387129245, energy=1.7e9)
12+
ring_parameters = Ringparameters(freq=0.0, brho=5.67229387129245, energy=629e6)
1313

1414
special_pvs = {
1515
"bpm_pv": "MDIZ2T5G",

src/dt4acc/custom_epics/data/mls/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)