We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2e9629 commit a1a5829Copy full SHA for a1a5829
src/dodal/beamlines/i16.py
@@ -0,0 +1,23 @@
1
+from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
2
+from dodal.device_manager import DeviceManager
3
+from dodal.devices.undulator import UndulatorInMm, UndulatorOrder
4
+from dodal.log import set_beamline as set_log_beamline
5
+from dodal.utils import BeamlinePrefix, get_beamline_name
6
+
7
+BL = get_beamline_name("i16")
8
+set_log_beamline(BL)
9
+set_utils_beamline(BL)
10
+PREFIX = BeamlinePrefix(BL)
11
12
13
+devices = DeviceManager()
14
15
16
+@devices.factory()
17
+def id() -> UndulatorInMm:
18
+ return UndulatorInMm(prefix=f"{PREFIX.insertion_prefix}-MO-SERVC-01:")
19
20
21
22
+def harmonic() -> UndulatorOrder:
23
+ return UndulatorOrder()
0 commit comments