dls-dodal 1.58.0__py3-none-any.whl → 1.59.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. {dls_dodal-1.58.0.dist-info → dls_dodal-1.59.1.dist-info}/METADATA +2 -1
  2. {dls_dodal-1.58.0.dist-info → dls_dodal-1.59.1.dist-info}/RECORD +58 -43
  3. dodal/_version.py +2 -2
  4. dodal/beamlines/b07.py +10 -5
  5. dodal/beamlines/b07_1.py +10 -5
  6. dodal/beamlines/b21.py +22 -0
  7. dodal/beamlines/i02_1.py +80 -0
  8. dodal/beamlines/i03.py +5 -3
  9. dodal/beamlines/i04.py +5 -3
  10. dodal/beamlines/i09.py +10 -9
  11. dodal/beamlines/i09_1.py +10 -5
  12. dodal/beamlines/i10-1.py +25 -0
  13. dodal/beamlines/i10.py +17 -1
  14. dodal/beamlines/i11.py +0 -17
  15. dodal/beamlines/i19_2.py +11 -0
  16. dodal/beamlines/i21.py +27 -0
  17. dodal/beamlines/i22.py +12 -2
  18. dodal/beamlines/i24.py +32 -3
  19. dodal/beamlines/k07.py +31 -0
  20. dodal/beamlines/p60.py +10 -9
  21. dodal/common/watcher_utils.py +1 -1
  22. dodal/devices/apple2_undulator.py +18 -142
  23. dodal/devices/attenuator/attenuator.py +48 -2
  24. dodal/devices/attenuator/filter.py +3 -0
  25. dodal/devices/attenuator/filter_selections.py +26 -0
  26. dodal/devices/eiger.py +2 -1
  27. dodal/devices/electron_analyser/__init__.py +4 -0
  28. dodal/devices/electron_analyser/abstract/base_driver_io.py +30 -18
  29. dodal/devices/electron_analyser/energy_sources.py +101 -0
  30. dodal/devices/electron_analyser/specs/detector.py +6 -6
  31. dodal/devices/electron_analyser/specs/driver_io.py +7 -15
  32. dodal/devices/electron_analyser/vgscienta/detector.py +6 -6
  33. dodal/devices/electron_analyser/vgscienta/driver_io.py +7 -14
  34. dodal/devices/fast_grid_scan.py +130 -64
  35. dodal/devices/focusing_mirror.py +30 -0
  36. dodal/devices/i02_1/__init__.py +0 -0
  37. dodal/devices/i02_1/fast_grid_scan.py +61 -0
  38. dodal/devices/i02_1/sample_motors.py +19 -0
  39. dodal/devices/i04/murko_results.py +69 -23
  40. dodal/devices/i10/i10_apple2.py +282 -140
  41. dodal/devices/i21/__init__.py +3 -0
  42. dodal/devices/i21/enums.py +8 -0
  43. dodal/devices/i22/nxsas.py +2 -0
  44. dodal/devices/i24/commissioning_jungfrau.py +114 -0
  45. dodal/devices/smargon.py +0 -56
  46. dodal/devices/temperture_controller/__init__.py +3 -0
  47. dodal/devices/temperture_controller/lakeshore/__init__.py +0 -0
  48. dodal/devices/temperture_controller/lakeshore/lakeshore.py +204 -0
  49. dodal/devices/temperture_controller/lakeshore/lakeshore_io.py +112 -0
  50. dodal/devices/tetramm.py +38 -16
  51. dodal/devices/v2f.py +39 -0
  52. dodal/devices/zebra/zebra.py +1 -0
  53. dodal/devices/zebra/zebra_constants_mapping.py +1 -1
  54. dodal/parameters/experiment_parameter_base.py +1 -5
  55. {dls_dodal-1.58.0.dist-info → dls_dodal-1.59.1.dist-info}/WHEEL +0 -0
  56. {dls_dodal-1.58.0.dist-info → dls_dodal-1.59.1.dist-info}/entry_points.txt +0 -0
  57. {dls_dodal-1.58.0.dist-info → dls_dodal-1.59.1.dist-info}/licenses/LICENSE +0 -0
  58. {dls_dodal-1.58.0.dist-info → dls_dodal-1.59.1.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dls-dodal
3
- Version: 1.58.0
3
+ Version: 1.59.1
4
4
  Summary: Ophyd devices and other utils that could be used across DLS beamlines
5
5
  Author-email: Dominic Oram <dominic.oram@diamond.ac.uk>, Joseph Ware <joseph.ware@diamond.ac.uk>, Oliver Silvester <Oliver.Silvester@diamond.ac.uk>, Noemi Frisina <noemi.frisina@diamond.ac.uk>
6
6
  License: Apache License
@@ -233,6 +233,7 @@ Requires-Dist: scanspec>=0.7.3
233
233
  Requires-Dist: event-model>=1.23
234
234
  Requires-Dist: pyzmq==26.3.0
235
235
  Requires-Dist: deepdiff
236
+ Requires-Dist: daq-config-server>=v1.0.0-rc.2
236
237
  Provides-Extra: dev
237
238
  Requires-Dist: black; extra == "dev"
238
239
  Requires-Dist: diff-cover; extra == "dev"
@@ -1,7 +1,7 @@
1
- dls_dodal-1.58.0.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
1
+ dls_dodal-1.59.1.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
2
2
  dodal/__init__.py,sha256=Ksms_WJF8LTkbm38gEpm1jBpGqcQ8NGvmb2ZJlOE1j8,198
3
3
  dodal/__main__.py,sha256=kP2S2RPitnOWpNGokjZ1Yq-1umOtp5sNOZk2B3tBPLM,111
4
- dodal/_version.py,sha256=0S_WOya-t7UDFMpZKDOCqr088G6Obb9i_ReErRJRu3o,706
4
+ dodal/_version.py,sha256=wK0DlFmbBUtBSJrrSyAf2e1H4HULMvk71ss8iHGbVFg,706
5
5
  dodal/cli.py,sha256=yi8dXOp0hqzlg4ZZXCRGU-LpDa_ydaropDjyREWbZ5Y,4152
6
6
  dodal/log.py,sha256=Rt5O3hFZfMnJvQueZvgagQuXnPqHrFxhponOvVkpfrk,9871
7
7
  dodal/utils.py,sha256=abGitd4FLpLnmckF7lUqOKYUL88r5Ex_NGSVgO4gOf4,19305
@@ -13,35 +13,38 @@ dodal/beamlines/__init__.py,sha256=pYP4kWH7h3VYXmjXdgbt27T_q-EA5PIyiaMZc7C49UA,3
13
13
  dodal/beamlines/adsim.py,sha256=fxj_P-7PsywdWPjfBAsLoOPiSKtApOKmLWHdQ8xCa3s,2048
14
14
  dodal/beamlines/aithre.py,sha256=IoRO5szytOtdkLLEtwYwLl4TLhMllyG6l9A2G1r7Yic,994
15
15
  dodal/beamlines/b01_1.py,sha256=c82X3HXysBK0s2_JxJkEg1HPXBNewP_OR_DXBU4izzc,2829
16
- dodal/beamlines/b07.py,sha256=TRJlLFMTMQz7a-ym8s2ZnuomZn_PBr6RAHrr5vAeSXA,1298
17
- dodal/beamlines/b07_1.py,sha256=LxBQtvyYMhKNkzjrLr_yfxhnWDFHfnV8Fkd4q8W_Gus,1505
16
+ dodal/beamlines/b07.py,sha256=xmnAJf8pnOfMwqRo16AVaF6Pf79_St5TJ-0Ll1gXM08,1336
17
+ dodal/beamlines/b07_1.py,sha256=nayXnkEGt2fgPt0GX665QJNbQcI9FiCsyEuDR2QNO18,1543
18
18
  dodal/beamlines/b16.py,sha256=rK00hEj8KLGNkLZr9omAuoMz_DyLN9rK4eUQssETR9E,1703
19
19
  dodal/beamlines/b18.py,sha256=ryxrGtcCdwoFgZ8ljWYgr1g9gKvoA7nxkARVxl1IE78,1189
20
- dodal/beamlines/b21.py,sha256=mN21vnOBmnwzG695HuV7P5DkuTtU8joflJI-evOpgwc,3333
21
- dodal/beamlines/i02_1.py,sha256=d2IyqFMgeaSEyZYm7GMSjTKr7_02SakyC_oARx-XwnY,1204
22
- dodal/beamlines/i03.py,sha256=wYeOyVn7UKhj7NhoGSeiFzK3TduL6YHMIHg37tVmE18,16170
23
- dodal/beamlines/i04.py,sha256=mRzHnKSKHVmJzs6fwpfBi0QSiry72ixYqa-bs96-0gU,13717
20
+ dodal/beamlines/b21.py,sha256=QGn0b88Od5-PCbleKwR6CSOleAY0vriybxcWlc58NS0,3851
21
+ dodal/beamlines/i02_1.py,sha256=SwRm9v1U6CiT0fwLbSTECbJ6OF1BPEx4TJ0cEReuGZA,4017
22
+ dodal/beamlines/i03.py,sha256=S2mJikFdZiV0e3VLNwHp38OCk_rL9wnWD009a7tH5kE,16203
23
+ dodal/beamlines/i04.py,sha256=b42_K8Fe2GonF7SUMwac8oEWnJyLOuhYQ12wdys_oQQ,13757
24
24
  dodal/beamlines/i05.py,sha256=v4QKd8-neh4Og205oovm6NDRnAU6Oktu1WrxalXsI40,656
25
25
  dodal/beamlines/i05_1.py,sha256=R6JFFg8Bj-Izw355mx3mOd4IDvJb5ipB4p7_S0I_4Z0,670
26
- dodal/beamlines/i09.py,sha256=OrqOcVanJU4F7erRZZDkjLwV8VnLlUzz3LUduaCBgUc,1629
27
- dodal/beamlines/i09_1.py,sha256=tZPD94nL76Ur2LZ_IAae14oqhbluuhpJRzlIz0L2gQ8,1271
26
+ dodal/beamlines/i09.py,sha256=E7PgMfJAixwvxd5bKzqX8ifVNExbzVMUYFN22TTTAFU,1594
27
+ dodal/beamlines/i09_1.py,sha256=coRe0cRbtmyT_FJXnJ8Q0TIKcnXpb9ToJCgga3IiPq4,1309
28
28
  dodal/beamlines/i09_2.py,sha256=lyYO1rOaIsXNuVOL39Psh-8jQjkhQBXEQMpbXa-Zcw0,713
29
- dodal/beamlines/i10.py,sha256=0rSWOlIihkDtq7ZZaJ5O2jkMBrteRYjl4Hhqe8EP1Yc,5697
30
- dodal/beamlines/i11.py,sha256=rjb5iARfbToNzeP-gewYljTu0f__V7bYj3JkJ5bWkGE,4349
29
+ dodal/beamlines/i10-1.py,sha256=9uivujUOgYMaNeVKMq6ZmR4HdXF4je7VEKGk4RtY5xc,736
30
+ dodal/beamlines/i10.py,sha256=EgVmrF7c5hT2WljDdfBpmYi6GVu4vkKuZ3kURdGM1XU,6141
31
+ dodal/beamlines/i11.py,sha256=hzW5Lh74zDzUD0vqXQzekoFVWDp8qEIc0OPRm0Qepqs,3643
31
32
  dodal/beamlines/i13_1.py,sha256=VYVqMN8-njy7YSI08gskRccT-K2paRC9edAx0ah-Cwo,1602
32
33
  dodal/beamlines/i17.py,sha256=Nickt8CKQ9JcQ1D_ulNICUT4jjLF1Aib7D9jblSnzA4,987
33
34
  dodal/beamlines/i18.py,sha256=FuU8G-q1piu6BRou-Shj3BQEbNtsF7CUsSIqqkvCKZc,3615
34
35
  dodal/beamlines/i19_1.py,sha256=tg3eALJTn9p686VFV7GjfUvChGS1mrh8-98uzjdLj_g,2934
35
- dodal/beamlines/i19_2.py,sha256=qotmAulSL2zTLaoxG1Mf6UabeJV-X4iekL0cotTtTww,2929
36
+ dodal/beamlines/i19_2.py,sha256=hlpAbSsgmhtxrygIVMPso4YL2jAqRfYWuK_L4TS54Fw,3171
36
37
  dodal/beamlines/i19_optics.py,sha256=8hdlDAAMgFrhcXrp5xCPZtLUlrDUEC9VwKnnuUAMbbU,1150
37
38
  dodal/beamlines/i20_1.py,sha256=Zsr1lsH7ySbOgK7RhMVMWzNWZAV-fuYW0iAjSEJZicY,2625
38
- dodal/beamlines/i22.py,sha256=009Tk5cYyHfmm1DfIwR562WzomXRvyv_5chiBbPgQUs,8100
39
+ dodal/beamlines/i21.py,sha256=5v6iiTlY4kWlWvQ_uNidJSotvkdNF3qdjR49l7sIYPc,728
40
+ dodal/beamlines/i22.py,sha256=3WYXequNzEkGIMEFgnI5axIYTH_kNcENVmoTj1mvyyI,8426
39
41
  dodal/beamlines/i23.py,sha256=ZXvPEiMA4mPbRTXOxvL1NcoVWDg4Deyl8k57cveDg90,3060
40
- dodal/beamlines/i24.py,sha256=FvK7MqC_dX_alUFMEoS8L4HACThky9lQ7w7rwy0gXdA,6259
42
+ dodal/beamlines/i24.py,sha256=BfO8tj5X-TpYYHCcZvzVlHXkrfUm6HqYtLjVyrmawr8,7458
43
+ dodal/beamlines/k07.py,sha256=ri5WoOdnVA9O1ZoDnIznxX_si5KxUBDkX0XYPWTaE_w,916
41
44
  dodal/beamlines/k11.py,sha256=sBOl-MLk7FMo10KFykuK5aLqH1zyW4FnI0XXmtQhUfg,978
42
45
  dodal/beamlines/p38.py,sha256=lxFGzmQhth0JhOFbTrZd9LEbUgvKmQdMtiHDW6UJgDs,5763
43
46
  dodal/beamlines/p45.py,sha256=tQ7EkWfr7o2okK7Prw1C7DNGYdKPU2ofqjm98wu_-G0,2158
44
- dodal/beamlines/p60.py,sha256=EeEfDa9OL0gEXZUw43wXh3GnYRrxc0QeuOKCC3REW7Q,1516
47
+ dodal/beamlines/p60.py,sha256=JtoajfrWGIDHFBQfXDKud4A9O2sV-BTVL1pZYUHx9zY,1480
45
48
  dodal/beamlines/p99.py,sha256=Rbi9OvmrGIblctOnZxFG_tqqhALLZ9O3ht4mBcb5vU8,2754
46
49
  dodal/beamlines/training_rig.py,sha256=0HeZYy4LkI1yU8joz40f241owLGB26CeCk7s8TW98zw,1902
47
50
  dodal/common/__init__.py,sha256=0fah9eCiHBBLVhdIqN_pjQIgPtxkAu25-3i4KjHRFM4,386
@@ -54,7 +57,7 @@ dodal/common/maths.py,sha256=K9x7iL3xXLtWYTV-xlFHDNSTIL9a2UP3Ws7wr6Dm2rQ,1803
54
57
  dodal/common/types.py,sha256=fkL7UOwDbe3v2_VJ5f1W5RxR98Wx-Ra-LxUZWkNDtls,486
55
58
  dodal/common/udc_directory_provider.py,sha256=v5OBaCUwjtQZAsRQUw6LlVL58UvwwDO1l2MKlilXjdk,2403
56
59
  dodal/common/visit.py,sha256=BLpr3GrP7Ij95V135hRJLgg7gWtBKXVxyOibWtcO8RE,5782
57
- dodal/common/watcher_utils.py,sha256=jWtXjr2a2NAcTy8A9OnvtB_hWh3GuuLvWxVWHouSvOs,3168
60
+ dodal/common/watcher_utils.py,sha256=nfBaYh9DPsT0x2JS5x8_e4rVl9bjdPmMqwIQUXuoYac,3168
58
61
  dodal/common/beamlines/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
59
62
  dodal/common/beamlines/beamline_parameters.py,sha256=nYTy5TDYegvon6iNCxf7Uez3hbdu9GCoLUmJhRO1qhE,2665
60
63
  dodal/common/beamlines/beamline_utils.py,sha256=UnDJlRs7p8srjv-peX05jHZBb8J2d2lPSyG9118x560,5286
@@ -63,7 +66,7 @@ dodal/common/beamlines/device_helpers.py,sha256=8sasAIFRDwo6ElHqLrXnpj_v7xcEg-29
63
66
  dodal/devices/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
64
67
  dodal/devices/aperture.py,sha256=S7AoIoQg_kFxaQk7HUMijbm1kYkOEi2csbdj76kp1ys,427
65
68
  dodal/devices/aperturescatterguard.py,sha256=FH2oru3DU-I6BwOJOVEgHdFplLKIIknxtEBUBAXZ_WA,13946
66
- dodal/devices/apple2_undulator.py,sha256=KbAX1GstP01XOm-QpXlyWCJewfxXKKawnoqbsfsksyY,26265
69
+ dodal/devices/apple2_undulator.py,sha256=-IKrEFatjbyI8nbfbCsAmsYWZU-l4A0gXFDJ-WPYEpw,22144
67
70
  dodal/devices/backlight.py,sha256=y40kR6N3qSFVLRaGU8CjJJpwv_hq2QALf_85fLQqras,1415
68
71
  dodal/devices/baton.py,sha256=315I_0V73_DYYVT0PBs0luVy4CMqdPo0kLvHBi12MIU,606
69
72
  dodal/devices/bimorph_mirror.py,sha256=OGe6aCczG0gVco4OvIRLJVxn2kw5F2QG1e06uqhFLTw,4609
@@ -72,13 +75,13 @@ dodal/devices/common_dcm.py,sha256=8QSRE6Z10RQjfL3g4JZhyHRNI_aCKxWlzKSsDgiJHhE,3
72
75
  dodal/devices/controllers.py,sha256=un-12-ts65rKJ4Az6gwnIWIUGvAH6KxAQhZ2u2iJ1O4,542
73
76
  dodal/devices/cryostream.py,sha256=2FxCGioEZNMHItsGm_rsnkRnHjwMUIwRMAX_x8odKIw,4678
74
77
  dodal/devices/diamond_filter.py,sha256=hySd7HnLdplpPNvBrLddLjO_3LqgD8-99Zr__Sy_GbI,689
75
- dodal/devices/eiger.py,sha256=pkK4EG1fLv6Qon5Ci__ApZKRtVKK8EMqTbM4CLU4duo,16608
78
+ dodal/devices/eiger.py,sha256=ZKaRXF-YnYWuMW94BIg-gmdKW7JKmtMUvehF3S5XaLY,16670
76
79
  dodal/devices/eiger_odin.py,sha256=1JoqPppTp99IZCiFOXJZB3h62xXRYKZINxTYXdLnT8c,7480
77
80
  dodal/devices/eurotherm.py,sha256=rdLldmWYP1PZBckoya6svPy1mDxHYaa1IfMleMPGzD4,3832
78
- dodal/devices/fast_grid_scan.py,sha256=UpAvlEncAG_toJi6p9iFggmLGeY7PZNfzt6WZiDo51Q,11891
81
+ dodal/devices/fast_grid_scan.py,sha256=Bng0FFIw3PYqdqX2Mj-KhyGRKIbKZVYEygzrYtylorY,14530
79
82
  dodal/devices/fluorescence_detector_motion.py,sha256=hJ1M9Zs6Dlw8DDL9APh7yVePlS4tU2hnlySd16hqfwE,346
80
83
  dodal/devices/flux.py,sha256=1CDsq9yU2-ho8MfYBl50Tl9ABZwpUBHnV486PQXKNoQ,462
81
- dodal/devices/focusing_mirror.py,sha256=hI8ucIDA57I0oUnhcya-UwHhyJ5Vnc_sQSZ20J4ZhtA,6592
84
+ dodal/devices/focusing_mirror.py,sha256=2UWVrY6bs6_0i-h6JJ_LAUZPX_FgMzIx04JqZafdtYU,7464
82
85
  dodal/devices/hutch_shutter.py,sha256=iY3qWxDr8mDlAvN_BYe2gqpXRM1hlfV3ewdwkwh0_v0,3889
83
86
  dodal/devices/ipin.py,sha256=eq5jlKw7WGQi8VLrAWpaAIsZmfiVf-5Q0td_B22H6A4,473
84
87
  dodal/devices/linkam3.py,sha256=Lkw7c05XyHEEA83djfVFqz_8HN4kROCRqZwLwvHwRdA,2054
@@ -92,13 +95,14 @@ dodal/devices/robot.py,sha256=k4Vkjpd3R-wXWf6YbYC1225sSdjvTrZS54v5v6Qy_EU,7003
92
95
  dodal/devices/s4_slit_gaps.py,sha256=4KdarIQoRqX4ry3LUS1Km7fkjUFahA0VuTd2DvYEqQ8,446
93
96
  dodal/devices/scintillator.py,sha256=JresF8SY_-t1raibzR4f0UoMXnFi-Abh3ywGm2DjhKs,3003
94
97
  dodal/devices/slits.py,sha256=b_7ku2sHlzhMHTvWrwiRwee6ufrbxNX9JB_Z0lvk15o,1105
95
- dodal/devices/smargon.py,sha256=48oOBOKlsvPhlUlK41ozXzCMUKMp3QkQx-pVqKL2Xts,6569
98
+ dodal/devices/smargon.py,sha256=m3wkiyGVrFw1HSnIcV2JPvuWkflSdii-1eZxoePxSkg,5025
96
99
  dodal/devices/status.py,sha256=hVrJS1yooQo6PRumRACoIEh-SKBUKxvBlQl-MtLFUMQ,327
97
100
  dodal/devices/synchrotron.py,sha256=OHBrTrm4K39XE8BrE9b_Jn_ZfMRyDp9CHCwvmiV-KOc,1989
98
- dodal/devices/tetramm.py,sha256=qBu2ClXRM4RFO-y4C2pXVKsp5sX4VpOelbVHOAkkUHQ,8936
101
+ dodal/devices/tetramm.py,sha256=IKZ49NtOf65L46Zu5CjX0kjQsYkA-bNIdu4BpMI2iLA,10243
99
102
  dodal/devices/thawer.py,sha256=HexahKZ1rUxF9jBMeULruqYt6I7fsl6OgXkvcxPQY3M,1963
100
103
  dodal/devices/turbo_slit.py,sha256=xhcnhfbdcTYSYozogw6Li4fF4ofoPsc350rEyrRdaNE,1460
101
104
  dodal/devices/undulator.py,sha256=SsgYvIEQUNs_zZiUPAzlw0yJPaSExdmBFltlq5ypbc8,5530
105
+ dodal/devices/v2f.py,sha256=MQiC5vEp2scu99ERcx9N5RIVtn5IYTWEUSFaklgbWKY,1225
102
106
  dodal/devices/watsonmarlow323_pump.py,sha256=xNwjoxW3NJIDkeDWHfb0A8Yj95_KKRXMD9AghvX-WLk,1337
103
107
  dodal/devices/webcam.py,sha256=UAx2KF0mKi6I-mJJUb5z56MHY-Wd89-tqyPcFbouQFg,2491
104
108
  dodal/devices/xbpm_feedback.py,sha256=HKLY3k52FPe2G-EAg8ir2LSdeUuGvhRD73ibDZ4mjH8,1418
@@ -107,9 +111,9 @@ dodal/devices/aithre_lasershaping/goniometer.py,sha256=-2ewYMcdzB1DqP9sMpr4L1i4K
107
111
  dodal/devices/aithre_lasershaping/laser_robot.py,sha256=vy-I1ASYflFYIUYePhT2l3l7g2iekrIFzLxA0GLmKY8,717
108
112
  dodal/devices/areadetector/plugins/CAM.py,sha256=sZzJm5Ez3eWfXZi_EB67wluhZmMQm1UyOc2bJFfzd1U,964
109
113
  dodal/devices/areadetector/plugins/MJPG.py,sha256=QTsxCoWbofNpLMGPoOR2hWoM33KyntuLepbF0YmX0KE,3031
110
- dodal/devices/attenuator/attenuator.py,sha256=7RFCAZSCUL1hWSLrYrgmalaEIWUhr0fHoDRthAG4yZ0,4104
111
- dodal/devices/attenuator/filter.py,sha256=ZoPsTWXjllyMtKBdSIFLB7Cbc88rGof5k3ymL13VczE,422
112
- dodal/devices/attenuator/filter_selections.py,sha256=lcmTprCXgSggp2L6uQ6YU0xLMljXvbspAug-WWKCXks,1410
114
+ dodal/devices/attenuator/attenuator.py,sha256=-rJYY_bHCDl8NVn3yYPytYIANiOPsz0f-3U1zBsT5pE,6246
115
+ dodal/devices/attenuator/filter.py,sha256=xb_8S62ktJdqdNE03PqhsfsTsQyTsRbR9CF1ksfX06M,542
116
+ dodal/devices/attenuator/filter_selections.py,sha256=k77EKESAlbA_ZUf1eNBdzMa8Xs8Mmmmb7XBkhipo3lE,1900
113
117
  dodal/devices/b07/__init__.py,sha256=Zw4VkH-68MLoDveswDpR-lTlzK1-IeNz2W4qtkCO3Hs,109
114
118
  dodal/devices/b07/enums.py,sha256=GmS6YZEbFH2wEwS1Ni4VNG-2wT98v7NnCzbHqFKo5Pg,1415
115
119
  dodal/devices/b07_1/__init__.py,sha256=yInDRarid492g7unaL8zIrWSNpRXhgsj8z7TRTRJfjI,281
@@ -129,32 +133,36 @@ dodal/devices/detector/det_dist_to_beam_converter.py,sha256=nSkhiEESyuzdrWoPu6h3
129
133
  dodal/devices/detector/det_resolution.py,sha256=aQkKp24LpRGiwzPAQM3wLVa4ANw32HdrKc2kftHfKQA,3253
130
134
  dodal/devices/detector/detector.py,sha256=DqQvlgdjIdKErrZqgM9IH7drc-r6N8nhkFk7KwlgYAk,4815
131
135
  dodal/devices/detector/detector_motion.py,sha256=Ly4nz_AsB-_EDOADMC2u2J0dunpkOMbafVN_dgh3T-E,1389
132
- dodal/devices/electron_analyser/__init__.py,sha256=UZqOOYZh-eOl_9T9LiiNNG3swXkBLiMwM1XmPeSNXgQ,831
136
+ dodal/devices/electron_analyser/__init__.py,sha256=mpC48s2fK58aEKI-Fl3CiYBb4tXgcaa4Msj8_jLpH8g,956
133
137
  dodal/devices/electron_analyser/detector.py,sha256=nnZ5bGaZJql-G9JaDK9VqLcsbPXb7hRSSfO1103JbX0,5046
138
+ dodal/devices/electron_analyser/energy_sources.py,sha256=NO3oxaVgmXnm6QuvyPBaeFbTjl3KwXzXY7EsdOhjATM,3152
134
139
  dodal/devices/electron_analyser/enums.py,sha256=ruSH7LNRhtqMflv7gYxKeAu0uLzZIaoCai7sSTzpvkg,204
135
140
  dodal/devices/electron_analyser/types.py,sha256=_kmdSp4E98fsusg5Wg-Hyo25zHYA_pMe_hFW8lKe3tE,1869
136
141
  dodal/devices/electron_analyser/util.py,sha256=ZFQJxxwDPIr43859DPIS9lBuq54phUT3R2f_Rbn-FbU,1235
137
142
  dodal/devices/electron_analyser/abstract/__init__.py,sha256=4M9RF4ccXRnkK0zrNzt3vR-8vHgqcPiCl2CPXHSlyxg,620
138
143
  dodal/devices/electron_analyser/abstract/base_detector.py,sha256=_jcUSZoHJNwLVI_HLk7DD8vEjZTSN2E3APJS8-Ssjzc,2368
139
- dodal/devices/electron_analyser/abstract/base_driver_io.py,sha256=AYDASUZI8C9yWbVtZFjMat5SJxa3JZXSY1Fd8bKNxDY,9396
144
+ dodal/devices/electron_analyser/abstract/base_driver_io.py,sha256=uQVsw43RigLJ_nWxS6RxtzeSjrfNgFHz5aOcbBrxIvI,9839
140
145
  dodal/devices/electron_analyser/abstract/base_region.py,sha256=DXJkDBJUyD7gi0ZEksXP5Wh1EZvmVbSlOevbZUHrVjU,5056
141
146
  dodal/devices/electron_analyser/abstract/types.py,sha256=eoeO7sqlv5RE7AEnyzsxHyuBXlUzOIYdRLWp0EnLyAU,596
142
147
  dodal/devices/electron_analyser/specs/__init__.py,sha256=qN57kY6ERUGdrAWhU5m8CBrc0KaqiOGwPL6h2BNm3i0,291
143
- dodal/devices/electron_analyser/specs/detector.py,sha256=5LIuaES0jMAetWXzjZCOdRLDd9HLzZHowIyfdlAKk8Y,1185
144
- dodal/devices/electron_analyser/specs/driver_io.py,sha256=zIFce7opznykIsHrN3a1vfB-NeNOL9dAtcInnYjsLWY,5061
148
+ dodal/devices/electron_analyser/specs/detector.py,sha256=RaNkSmQ_Jb9AuwQqVqo3vv5Q6DcTtpoVqqRAQvgoeEs,1139
149
+ dodal/devices/electron_analyser/specs/driver_io.py,sha256=vfiwK2TcDMJ5AbSPqwJDI9Xs1t0In7KzHys7PgCjNAg,4557
145
150
  dodal/devices/electron_analyser/specs/enums.py,sha256=cXPcbIGEN5ZJJt1KeiNJEtZkkcjQ-fz7dBfsU283zYQ,235
146
151
  dodal/devices/electron_analyser/specs/region.py,sha256=P7rwbY72-QGKzC6TeldmP8sTmardpB_-rYx7gPVCMqo,1213
147
152
  dodal/devices/electron_analyser/vgscienta/__init__.py,sha256=5ZUJcUkJJ9ruwE0PzCFdA0HyWKrfjxaUBeGAMCC9JH4,357
148
- dodal/devices/electron_analyser/vgscienta/detector.py,sha256=nqmQSKkZWeJZbFsfwoqvkR2z73RtUIlkcRNTFdqWVV0,1492
149
- dodal/devices/electron_analyser/vgscienta/driver_io.py,sha256=81zd9ePf3F1PMtlW0mTL4daW-1oBJrTr0h6Tn8nCvf8,4069
153
+ dodal/devices/electron_analyser/vgscienta/detector.py,sha256=JkO8E5N8tQjYfaHMXoDV6r3oEyzTC0oQI5IqWbOmvxw,1446
154
+ dodal/devices/electron_analyser/vgscienta/driver_io.py,sha256=ISOQek03DK7UItZwZY4DxatyLwGmOlgQn131onVcmtE,3567
150
155
  dodal/devices/electron_analyser/vgscienta/enums.py,sha256=3vmX67ExATU8clueVp_mCzw3OUQx799oZMc8gyHtMJE,205
151
156
  dodal/devices/electron_analyser/vgscienta/region.py,sha256=6k6Eah6_I74Pi2_a0KfyMYFfwHwJbh1ndqy0fuq5o14,2184
157
+ dodal/devices/i02_1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
158
+ dodal/devices/i02_1/fast_grid_scan.py,sha256=eyWE-urpxY10_KZK4Vg48Rau0rTK3O2Ul4IcK6P2Geg,2428
159
+ dodal/devices/i02_1/sample_motors.py,sha256=fAHAyeuP4hjOnYsp2x5VQNrTh8Di35ezJV1si2YmKPY,607
152
160
  dodal/devices/i03/__init__.py,sha256=Kvukapy4a5lUQ20qaCqYCJzKNaqJn2DfXP5nKZ_Pec8,118
153
161
  dodal/devices/i03/dcm.py,sha256=zDcgxOdMRVOQZBGDsLaIlr7o4UJIK2vehPWHxAxt6VA,2268
154
162
  dodal/devices/i03/undulator_dcm.py,sha256=L7dr1QcwJ1SiQWkHm0a4yQVJFtPiAJQyDLEXok64Ab8,2857
155
163
  dodal/devices/i04/__init__.py,sha256=Kvukapy4a5lUQ20qaCqYCJzKNaqJn2DfXP5nKZ_Pec8,118
156
164
  dodal/devices/i04/constants.py,sha256=_Dw28NeXldwRYH-h6YP6OHnyj7h0z4NQs_-RysNby5Q,281
157
- dodal/devices/i04/murko_results.py,sha256=1vVQKQdBGYAwcX22oQzWYheelIppoTQk5_git563y10,7055
165
+ dodal/devices/i04/murko_results.py,sha256=JZNW0_G0f41ZWjp1l0TxBuYWcqjfr1XPpGRe4ObCVUk,8506
158
166
  dodal/devices/i04/transfocator.py,sha256=sVI4Bgv-2-DH4-F1nIXMp5Aktevrm3agZnCA-WgjmW8,3780
159
167
  dodal/devices/i05/__init__.py,sha256=v0Axsf-vMyLyxcbqS8lljJc0BQ5Tw8yVBTWcO3tG_4g,67
160
168
  dodal/devices/i05/enums.py,sha256=9FHBIexkSfZSTHxUnGupravfG9sVriHcrB15jemkQOQ,191
@@ -165,7 +173,7 @@ dodal/devices/i09_1/__init__.py,sha256=dTazun87AkMDXh7J8gIZYJxJth0XUs72qahJ-VvhR
165
173
  dodal/devices/i09_1/enums.py,sha256=FwhsvKnEcm9M22U4gcAJi6FE2RaUBZH0jRjNgJUKRqc,1319
166
174
  dodal/devices/i10/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
167
175
  dodal/devices/i10/diagnostics.py,sha256=iEPScPnjhLX20dD313hBekqM2OmL_WYQN-4yKAMOFWU,5440
168
- dodal/devices/i10/i10_apple2.py,sha256=NF4k6YFVEQ1WgF-x_J5V1dxh7F-SSATnVQMVsUmP3kI,15209
176
+ dodal/devices/i10/i10_apple2.py,sha256=QN5y03VNE52DyMB6wI6trd7JYzQmQuXBKVod9dL2jRg,19489
169
177
  dodal/devices/i10/i10_setting_data.py,sha256=69XWgE-YNTiW7C3t67MNcTL5JDDhOo7h-X7DCTpFE5g,164
170
178
  dodal/devices/i10/mirrors.py,sha256=Zofd0g2f3YvFi_KIHQE_w4dFZNglhmh--65tRnWLuyY,504
171
179
  dodal/devices/i10/slits.py,sha256=jI4wJPVT2vtl4bvabrU9u_v-SdGjOfDLBm0S9GMZC7w,4157
@@ -190,13 +198,16 @@ dodal/devices/i19/diffractometer.py,sha256=QCEi0Gko6Ja9_ec2vfdazwMspknvX63jcz8hQ
190
198
  dodal/devices/i19/hutch_access.py,sha256=hnClUWCL1qTYzuBMmhXX85jiNak7mbYfyHEh54tZ27U,377
191
199
  dodal/devices/i19/shutter.py,sha256=B4KP0Ruc8Ex47OfCskbjYSSu81jz4tK9GC_7pxMIkgI,2140
192
200
  dodal/devices/i20_1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
201
+ dodal/devices/i21/__init__.py,sha256=1H0Ov9s8K7nu6e20WtQDH39wgSKWz2ChRVAUzytIyzQ,67
202
+ dodal/devices/i21/enums.py,sha256=asy90S84fBBydYwz89jNeocz04JXpbHn8ynaPzW353c,141
193
203
  dodal/devices/i22/dcm.py,sha256=s3RU6NxsQxOc_YgMBwR8lhboStI1gCDKbWc5pk22O0M,4489
194
204
  dodal/devices/i22/fswitch.py,sha256=kpgegs4Wv_weBSzbrlXLXqXOOZdzTn3X9k5PlEN5F6c,2881
195
- dodal/devices/i22/nxsas.py,sha256=093GCM2H2LESt28RF-JfxEljJ8QzRPkL1ByXI2XVhoA,6012
205
+ dodal/devices/i22/nxsas.py,sha256=M6hhiPmHO4WDBsFoSOhKAG_yPF6vTpLRPbB2UW3-aMs,6122
196
206
  dodal/devices/i24/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
197
207
  dodal/devices/i24/aperture.py,sha256=dlH_g7OPTBc5QRMd-ADU3_GDTKh668kkMHo4k_JxUcY,770
198
208
  dodal/devices/i24/beam_center.py,sha256=nQyOif6JtlU_qP7kZP-8wN1ldW81MIbFUykPC1bEm70,446
199
209
  dodal/devices/i24/beamstop.py,sha256=6tbiQLlcTlp4PCPhHJ_mlHtkv0kz5ArQ99zg9rwTnrw,1133
210
+ dodal/devices/i24/commissioning_jungfrau.py,sha256=kVt19MS0d9kZhBCgQnWAsC5kxMY9ckTEIprggf-gveY,4217
200
211
  dodal/devices/i24/dcm.py,sha256=l7qbJh2JKL-5ANlMYXDeU5EBYY6mDiLxn7kp_Z9KNaM,1206
201
212
  dodal/devices/i24/dual_backlight.py,sha256=N0R7M1mHPRmQ4fks5lGU1wrXjOvcW_ZKIXaRoC8aLDE,2084
202
213
  dodal/devices/i24/focus_mirrors.py,sha256=DYiYLpDw8FJ1LYHxLOxE_om5qGfUo2itzskgqhmQZlg,1763
@@ -222,6 +233,10 @@ dodal/devices/p60/lab_xray_source.py,sha256=CrvJYNspp4xgmad_VSUwaMG39L5S8sDRiD2w
222
233
  dodal/devices/p99/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
223
234
  dodal/devices/p99/andor2_point.py,sha256=zBoIou7VVzs-tAq3M29XL2xYV8aYZRKPYCGKRLk7MA0,1417
224
235
  dodal/devices/p99/sample_stage.py,sha256=DvHU556Gp0wFiufZiwY3o2W4xmsCL5uSwNnhd8HPAnc,528
236
+ dodal/devices/temperture_controller/__init__.py,sha256=AV5Bxci_4xPwwv0zg3fp6N8Zx7Z7XKt4fzMQzQt-Fbo,128
237
+ dodal/devices/temperture_controller/lakeshore/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
238
+ dodal/devices/temperture_controller/lakeshore/lakeshore.py,sha256=AK3-iRMLUx7dBQHc7pYzfY1sulVfzMJZ0Cuk-FNCi9Y,6407
239
+ dodal/devices/temperture_controller/lakeshore/lakeshore_io.py,sha256=OSvJv-vtWIoDuvqGAbg9_3QvSfIA2iBEleJJ7M2-gO4,3914
225
240
  dodal/devices/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
226
241
  dodal/devices/util/adjuster_plans.py,sha256=c40PFZpXFw0YmJLh9jU4VIb8vRxHyafZlmvprTKAOhM,824
227
242
  dodal/devices/util/epics_util.py,sha256=4useFL8ngsVF08fhOn48BlnO4oh0T4sEKqjdS6mjvG0,4687
@@ -229,14 +244,14 @@ dodal/devices/util/lookup_tables.py,sha256=jH9f_D8JbTSqzL-RKHUWOORLt8lEoNQL3o9Hp
229
244
  dodal/devices/xspress3/xspress3.py,sha256=OerapEy-IuK7EFz13B5z0BzBmESVl6pYUlqAWHIwJck,4555
230
245
  dodal/devices/xspress3/xspress3_channel.py,sha256=w8tAx2lz5kJ_LeJ_eb_4o--Dtt8MRijsYNgDG6oEIVg,1626
231
246
  dodal/devices/zebra/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
232
- dodal/devices/zebra/zebra.py,sha256=FvcC4XZ8g8Tfa9LWpns-4_fjkz7187dabFKUSIPX80o,9515
233
- dodal/devices/zebra/zebra_constants_mapping.py,sha256=S2iXbmO3XVY5aYsTCi8Kw1YRJg5dGrdDaZppEeZN1Vk,4169
247
+ dodal/devices/zebra/zebra.py,sha256=AxGmFIYL62arJcy8WCE2-M1llxVB3xBhum3NV7jpEUQ,9602
248
+ dodal/devices/zebra/zebra_constants_mapping.py,sha256=1XCPqagOG6sIyD2czJYJf0omPpSlfhkvGijOzQ_NIcg,4165
234
249
  dodal/devices/zebra/zebra_controlled_shutter.py,sha256=hrSD1oRW8BY67ub_oggjp6cvhqlRQWlXYsGtn9HBGhk,1876
235
250
  dodal/devices/zocalo/__init__.py,sha256=W3R09eHAmybP4BcM_gHy6gVAW5_gVSnFq2o3z2iTA7U,478
236
251
  dodal/devices/zocalo/zocalo_constants.py,sha256=vu7Xjz7UNEpBUWEEBxDvP4bVFkZIN6NLGfQDpWbCjH8,98
237
252
  dodal/devices/zocalo/zocalo_interaction.py,sha256=GFukU9xqagQtVSDg5BrL23jxl1w8wjs4b4NLLqdFfpk,3584
238
253
  dodal/devices/zocalo/zocalo_results.py,sha256=8ZYkNB-By47Ag_p68iOq7jK8_P-LAsWPNs0m_DhnVEQ,12639
239
- dodal/parameters/experiment_parameter_base.py,sha256=O7JamfuJ5cYHkPf9tsHJPqn-OMHTAGouigvM1cDFehE,313
254
+ dodal/parameters/experiment_parameter_base.py,sha256=vONep-llSqhM0OpVj3zFUxdnzRQpu9y9mPhh2HauEJE,226
240
255
  dodal/plan_stubs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
241
256
  dodal/plan_stubs/check_topup.py,sha256=3gyLHfHNQBCgEWuAg4QE-ONx7y2Do1vVv5HP8ss0Z1I,5371
242
257
  dodal/plan_stubs/data_session.py,sha256=Syc6XKaN1usf7bNWOez8_vAH3byrcROqskmBrSUWa4Y,2132
@@ -255,8 +270,8 @@ dodal/testing/__init__.py,sha256=AUYZKAvVOs7ZvxO1dVhL0pDTleRO34FQlO5MNe_cwgU,96
255
270
  dodal/testing/setup.py,sha256=8cQnrzE5MQD4Etf0eqMarmtr-opsUOMQww-k1V7DzIQ,2442
256
271
  dodal/testing/electron_analyser/__init__.py,sha256=-lc1opD2dCv0x678-J-ApOhHtvEvcslfOQ7E613U8-Y,118
257
272
  dodal/testing/electron_analyser/device_factory.py,sha256=tkMY6fW3iI02DTD1XXHi4lH6sjo8RHHZBGDHSuTdmNU,2243
258
- dls_dodal-1.58.0.dist-info/METADATA,sha256=FL_laMKISMqDK1hq8tvlBEF1M-r4XhFjVYBfT8yya5E,16928
259
- dls_dodal-1.58.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
260
- dls_dodal-1.58.0.dist-info/entry_points.txt,sha256=bycw_EKUzup_rxfCetOwcauXV4kLln_OPpPT8jEnr-I,94
261
- dls_dodal-1.58.0.dist-info/top_level.txt,sha256=xIozdmZk_wmMV4wugpq9-6eZs0vgADNUKz3j2UAwlhc,6
262
- dls_dodal-1.58.0.dist-info/RECORD,,
273
+ dls_dodal-1.59.1.dist-info/METADATA,sha256=vhekTYIeuSt8iSv0nmyRJljih2oZyHJ8mE1vJiKFuoU,16974
274
+ dls_dodal-1.59.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
275
+ dls_dodal-1.59.1.dist-info/entry_points.txt,sha256=bycw_EKUzup_rxfCetOwcauXV4kLln_OPpPT8jEnr-I,94
276
+ dls_dodal-1.59.1.dist-info/top_level.txt,sha256=xIozdmZk_wmMV4wugpq9-6eZs0vgADNUKz3j2UAwlhc,6
277
+ dls_dodal-1.59.1.dist-info/RECORD,,
dodal/_version.py CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '1.58.0'
32
- __version_tuple__ = version_tuple = (1, 58, 0)
31
+ __version__ = version = '1.59.1'
32
+ __version_tuple__ = version_tuple = (1, 59, 1)
33
33
 
34
34
  __commit_id__ = commit_id = None
dodal/beamlines/b07.py CHANGED
@@ -3,8 +3,8 @@ from dodal.common.beamlines.beamline_utils import (
3
3
  )
4
4
  from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
5
5
  from dodal.devices.b07 import Grating, LensMode, PsuMode
6
- from dodal.devices.electron_analyser import SelectedSource
7
- from dodal.devices.electron_analyser.specs import SpecsAnalyserDriverIO
6
+ from dodal.devices.electron_analyser import EnergySource
7
+ from dodal.devices.electron_analyser.specs import SpecsDetector
8
8
  from dodal.devices.pgm import PGM
9
9
  from dodal.devices.synchrotron import Synchrotron
10
10
  from dodal.log import set_beamline as set_log_beamline
@@ -26,13 +26,18 @@ def pgm() -> PGM:
26
26
  return PGM(prefix=f"{PREFIX.beamline_prefix}-OP-PGM-01:", grating=Grating)
27
27
 
28
28
 
29
+ @device_factory()
30
+ def energy_source() -> EnergySource:
31
+ return EnergySource(pgm().energy.user_readback)
32
+
33
+
29
34
  # Connect will work again after this work completed
30
35
  # https://jira.diamond.ac.uk/browse/B07-1104
31
36
  @device_factory()
32
- def analyser_driver() -> SpecsAnalyserDriverIO[LensMode, PsuMode]:
33
- return SpecsAnalyserDriverIO[LensMode, PsuMode](
37
+ def analyser() -> SpecsDetector[LensMode, PsuMode]:
38
+ return SpecsDetector[LensMode, PsuMode](
34
39
  prefix=f"{PREFIX.beamline_prefix}-EA-DET-01:CAM:",
35
40
  lens_mode_type=LensMode,
36
41
  psu_mode_type=PsuMode,
37
- energy_sources={SelectedSource.SOURCE1: pgm().energy.user_readback},
42
+ energy_source=energy_source(),
38
43
  )
dodal/beamlines/b07_1.py CHANGED
@@ -6,8 +6,8 @@ from dodal.devices.b07_1 import (
6
6
  Grating,
7
7
  LensMode,
8
8
  )
9
- from dodal.devices.electron_analyser import SelectedSource
10
- from dodal.devices.electron_analyser.specs import SpecsAnalyserDriverIO
9
+ from dodal.devices.electron_analyser import EnergySource
10
+ from dodal.devices.electron_analyser.specs import SpecsDetector
11
11
  from dodal.devices.pgm import PGM
12
12
  from dodal.devices.synchrotron import Synchrotron
13
13
  from dodal.log import set_beamline as set_log_beamline
@@ -37,10 +37,15 @@ def ccmc() -> ChannelCutMonochromator:
37
37
 
38
38
 
39
39
  @device_factory()
40
- def analyser_driver() -> SpecsAnalyserDriverIO[LensMode, PsuMode]:
41
- return SpecsAnalyserDriverIO[LensMode, PsuMode](
40
+ def energy_source() -> EnergySource:
41
+ return EnergySource(pgm().energy.user_readback)
42
+
43
+
44
+ @device_factory()
45
+ def analyser() -> SpecsDetector[LensMode, PsuMode]:
46
+ return SpecsDetector[LensMode, PsuMode](
42
47
  prefix=f"{PREFIX.beamline_prefix}-EA-DET-01:CAM:",
43
48
  lens_mode_type=LensMode,
44
49
  psu_mode_type=PsuMode,
45
- energy_sources={SelectedSource.SOURCE1: pgm().energy.user_readback},
50
+ energy_source=energy_source(),
46
51
  )
dodal/beamlines/b21.py CHANGED
@@ -8,10 +8,13 @@ from dodal.common.beamlines.beamline_utils import (
8
8
  )
9
9
  from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
10
10
  from dodal.common.beamlines.device_helpers import CAM_SUFFIX, HDF5_SUFFIX
11
+ from dodal.devices.focusing_mirror import SimpleMirror
11
12
  from dodal.devices.i22.nxsas import NXSasMetadataHolder, NXSasOAV
12
13
  from dodal.devices.linkam3 import Linkam3
14
+ from dodal.devices.motors import XYStage
13
15
  from dodal.devices.slits import Slits
14
16
  from dodal.devices.synchrotron import Synchrotron
17
+ from dodal.devices.v2f import QDV2F
15
18
  from dodal.log import set_beamline as set_log_beamline
16
19
  from dodal.utils import BeamlinePrefix, get_beamline_name
17
20
 
@@ -43,6 +46,18 @@ def waxs() -> EigerDetector:
43
46
  )
44
47
 
45
48
 
49
+ @device_factory()
50
+ def mirror() -> SimpleMirror:
51
+ return SimpleMirror(
52
+ prefix=f"{PREFIX.beamline_prefix}-OP-MR-01:",
53
+ )
54
+
55
+
56
+ @device_factory()
57
+ def it() -> QDV2F:
58
+ return QDV2F(prefix=f"{PREFIX.beamline_prefix}-DI-PHDGN-07:PHD1:", I_suffix="I")
59
+
60
+
46
61
  @device_factory()
47
62
  def panda1() -> HDFPanda:
48
63
  return HDFPanda(
@@ -51,6 +66,13 @@ def panda1() -> HDFPanda:
51
66
  )
52
67
 
53
68
 
69
+ @device_factory()
70
+ def table() -> XYStage:
71
+ return XYStage(
72
+ prefix=f"{PREFIX.beamline_prefix}-MO-TABLE-04:",
73
+ )
74
+
75
+
54
76
  @device_factory()
55
77
  def synchrotron() -> Synchrotron:
56
78
  return Synchrotron()
dodal/beamlines/i02_1.py CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  from dodal.common.beamlines.beamline_utils import (
4
4
  device_factory,
5
+ device_instantiation,
5
6
  )
6
7
  from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
7
8
  from dodal.devices.attenuator.attenuator import EnumFilterAttenuator
@@ -11,6 +12,17 @@ from dodal.devices.attenuator.filter_selections import (
11
12
  I02_1FilterThreeSelections,
12
13
  I02_1FilterTwoSelections,
13
14
  )
15
+ from dodal.devices.eiger import EigerDetector
16
+ from dodal.devices.i02_1.fast_grid_scan import ZebraFastGridScanTwoD
17
+ from dodal.devices.i02_1.sample_motors import SampleMotors
18
+ from dodal.devices.synchrotron import Synchrotron
19
+ from dodal.devices.zebra.zebra import Zebra
20
+ from dodal.devices.zebra.zebra_constants_mapping import (
21
+ ZebraMapping,
22
+ ZebraSources,
23
+ ZebraTTLOutputs,
24
+ )
25
+ from dodal.devices.zocalo import ZocaloResults
14
26
  from dodal.log import set_beamline as set_log_beamline
15
27
  from dodal.utils import BeamlinePrefix, get_beamline_name
16
28
 
@@ -18,6 +30,74 @@ BL = get_beamline_name("i02-1")
18
30
  PREFIX = BeamlinePrefix(BL, suffix="J")
19
31
  set_log_beamline(BL)
20
32
  set_utils_beamline(BL)
33
+ DAQ_CONFIGURATION_PATH = "/dls_sw/i02-1/software/daq_configuration"
34
+
35
+ I02_1_ZEBRA_MAPPING = ZebraMapping(
36
+ outputs=ZebraTTLOutputs(TTL_EIGER=2, TTL_XSPRESS3=3, TTL_FAST_SHUTTER=1),
37
+ sources=ZebraSources(),
38
+ )
39
+
40
+
41
+ @device_factory()
42
+ def eiger(mock: bool = False) -> EigerDetector:
43
+ """Get the i02-1 Eiger device, instantiate it if it hasn't already been.
44
+ If this is called when already instantiated in i02-1, it will return the existing object.
45
+ """
46
+ return device_instantiation(
47
+ device_factory=EigerDetector,
48
+ prefix=f"{PREFIX.beamline_prefix}-EA-EIGER-01:",
49
+ bl_prefix=False,
50
+ wait=False,
51
+ fake=mock,
52
+ name="eiger",
53
+ )
54
+
55
+
56
+ @device_factory()
57
+ def zebra_fast_grid_scan() -> ZebraFastGridScanTwoD:
58
+ """Get the i02-1 zebra_fast_grid_scan device, instantiate it if it hasn't already been.
59
+ If this is called when already instantiated in i02-1, it will return the existing object.
60
+ """
61
+ return ZebraFastGridScanTwoD(
62
+ prefix=f"{PREFIX.beamline_prefix}-MO-SAMP-11:",
63
+ motion_controller_prefix="BL02J-MO-STEP-11:",
64
+ )
65
+
66
+
67
+ @device_factory()
68
+ def synchrotron() -> Synchrotron:
69
+ """Get the i02-1 synchrotron device, instantiate it if it hasn't already been.
70
+ If this is called when already instantiated in i02-1, it will return the existing object.
71
+ """
72
+ return Synchrotron()
73
+
74
+
75
+ @device_factory()
76
+ def zebra() -> Zebra:
77
+ """Get the i02-1 zebra device, instantiate it if it hasn't already been.
78
+ If this is called when already instantiated in i02-1, it will return the existing object.
79
+ """
80
+ return Zebra(
81
+ prefix=f"{PREFIX.beamline_prefix}-EA-ZEBRA-01:",
82
+ mapping=I02_1_ZEBRA_MAPPING,
83
+ )
84
+
85
+
86
+ # Device not needed after https://github.com/DiamondLightSource/mx-bluesky/issues/1299
87
+ @device_factory()
88
+ def zocalo() -> ZocaloResults:
89
+ """Get the i02-1 ZocaloResults device, instantiate it if it hasn't already been.
90
+ If this is called when already instantiated in i02-1, it will return the existing object.
91
+ """
92
+ return ZocaloResults()
93
+
94
+
95
+ @device_factory()
96
+ def goniometer() -> SampleMotors:
97
+ """Get the i02-1 goniometer device, instantiate it if it hasn't already been.
98
+ If this is called when already instantiated in i02-1, it will return the existing object.
99
+ """
100
+ return SampleMotors(f"{PREFIX.beamline_prefix}-MO-SAMP-01:")
21
101
 
22
102
 
23
103
  @device_factory()
dodal/beamlines/i03.py CHANGED
@@ -25,7 +25,7 @@ from dodal.devices.cryostream import CryoStream
25
25
  from dodal.devices.detector.detector_motion import DetectorMotion
26
26
  from dodal.devices.diamond_filter import DiamondFilter, I03Filters
27
27
  from dodal.devices.eiger import EigerDetector
28
- from dodal.devices.fast_grid_scan import PandAFastGridScan, ZebraFastGridScan
28
+ from dodal.devices.fast_grid_scan import PandAFastGridScan, ZebraFastGridScanThreeD
29
29
  from dodal.devices.fluorescence_detector_motion import FluorescenceDetector
30
30
  from dodal.devices.flux import Flux
31
31
  from dodal.devices.focusing_mirror import FocusingMirrorWithStripes, MirrorVoltages
@@ -191,11 +191,13 @@ def fastcs_eiger() -> FastEiger:
191
191
 
192
192
 
193
193
  @device_factory()
194
- def zebra_fast_grid_scan() -> ZebraFastGridScan:
194
+ def zebra_fast_grid_scan() -> ZebraFastGridScanThreeD:
195
195
  """Get the i03 zebra_fast_grid_scan device, instantiate it if it hasn't already been.
196
196
  If this is called when already instantiated in i03, it will return the existing object.
197
197
  """
198
- return ZebraFastGridScan(prefix=f"{PREFIX.beamline_prefix}-MO-SGON-01:")
198
+ return ZebraFastGridScanThreeD(
199
+ prefix=f"{PREFIX.beamline_prefix}-MO-SGON-01:",
200
+ )
199
201
 
200
202
 
201
203
  @device_factory()
dodal/beamlines/i04.py CHANGED
@@ -17,7 +17,7 @@ from dodal.devices.detector import DetectorParams
17
17
  from dodal.devices.detector.detector_motion import DetectorMotion
18
18
  from dodal.devices.diamond_filter import DiamondFilter, I04Filters
19
19
  from dodal.devices.eiger import EigerDetector
20
- from dodal.devices.fast_grid_scan import ZebraFastGridScan
20
+ from dodal.devices.fast_grid_scan import ZebraFastGridScanThreeD
21
21
  from dodal.devices.flux import Flux
22
22
  from dodal.devices.i03.dcm import DCM
23
23
  from dodal.devices.i04.constants import RedisConstants
@@ -210,11 +210,13 @@ def eiger(mock: bool = False, params: DetectorParams | None = None) -> EigerDete
210
210
 
211
211
 
212
212
  @device_factory()
213
- def zebra_fast_grid_scan() -> ZebraFastGridScan:
213
+ def zebra_fast_grid_scan() -> ZebraFastGridScanThreeD:
214
214
  """Get the i04 zebra_fast_grid_scan device, instantiate it if it hasn't already been.
215
215
  If this is called when already instantiated in i04, it will return the existing object.
216
216
  """
217
- return ZebraFastGridScan(f"{PREFIX.beamline_prefix}-MO-SGON-01:")
217
+ return ZebraFastGridScanThreeD(
218
+ prefix=f"{PREFIX.beamline_prefix}-MO-SGON-01:",
219
+ )
218
220
 
219
221
 
220
222
  @device_factory()
dodal/beamlines/i09.py CHANGED
@@ -2,8 +2,8 @@ from dodal.common.beamlines.beamline_utils import (
2
2
  device_factory,
3
3
  )
4
4
  from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
5
- from dodal.devices.electron_analyser import SelectedSource
6
- from dodal.devices.electron_analyser.vgscienta import VGScientaAnalyserDriverIO
5
+ from dodal.devices.electron_analyser import DualEnergySource
6
+ from dodal.devices.electron_analyser.vgscienta import VGScientaDetector
7
7
  from dodal.devices.i09 import DCM, Grating, LensMode, PassEnergy, PsuMode
8
8
  from dodal.devices.pgm import PGM
9
9
  from dodal.devices.synchrotron import Synchrotron
@@ -34,18 +34,19 @@ def dcm() -> DCM:
34
34
  return DCM(prefix=f"{PREFIX.beamline_prefix}-MO-DCM-01:")
35
35
 
36
36
 
37
+ @device_factory()
38
+ def energy_source() -> DualEnergySource:
39
+ return DualEnergySource(dcm().energy_in_ev, pgm().energy.user_readback)
40
+
41
+
37
42
  # Connect will work again after this work completed
38
43
  # https://jira.diamond.ac.uk/browse/I09-651
39
44
  @device_factory()
40
- def analyser_driver() -> VGScientaAnalyserDriverIO[LensMode, PsuMode, PassEnergy]:
41
- energy_sources = {
42
- SelectedSource.SOURCE1: pgm().energy.user_readback,
43
- SelectedSource.SOURCE2: dcm().energy_in_ev,
44
- }
45
- return VGScientaAnalyserDriverIO[LensMode, PsuMode, PassEnergy](
45
+ def ew4000() -> VGScientaDetector[LensMode, PsuMode, PassEnergy]:
46
+ return VGScientaDetector[LensMode, PsuMode, PassEnergy](
46
47
  prefix=f"{PREFIX.beamline_prefix}-EA-DET-01:CAM:",
47
48
  lens_mode_type=LensMode,
48
49
  psu_mode_type=PsuMode,
49
50
  pass_energy_type=PassEnergy,
50
- energy_sources=energy_sources,
51
+ energy_source=energy_source(),
51
52
  )
dodal/beamlines/i09_1.py CHANGED
@@ -2,8 +2,8 @@ from dodal.common.beamlines.beamline_utils import (
2
2
  device_factory,
3
3
  )
4
4
  from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
5
- from dodal.devices.electron_analyser import SelectedSource
6
- from dodal.devices.electron_analyser.specs import SpecsAnalyserDriverIO
5
+ from dodal.devices.electron_analyser import EnergySource
6
+ from dodal.devices.electron_analyser.specs import SpecsDetector
7
7
  from dodal.devices.i09.dcm import DCM
8
8
  from dodal.devices.i09_1 import LensMode, PsuMode
9
9
  from dodal.devices.synchrotron import Synchrotron
@@ -26,13 +26,18 @@ def dcm() -> DCM:
26
26
  return DCM(prefix=f"{PREFIX.beamline_prefix}-MO-DCM-01:")
27
27
 
28
28
 
29
+ @device_factory()
30
+ def energy_source() -> EnergySource:
31
+ return EnergySource(dcm().energy_in_ev)
32
+
33
+
29
34
  # Connect will work again after this work completed
30
35
  # https://jira.diamond.ac.uk/browse/I09-651
31
36
  @device_factory()
32
- def analyser_driver() -> SpecsAnalyserDriverIO[LensMode, PsuMode]:
33
- return SpecsAnalyserDriverIO[LensMode, PsuMode](
37
+ def analyser() -> SpecsDetector[LensMode, PsuMode]:
38
+ return SpecsDetector[LensMode, PsuMode](
34
39
  prefix=f"{PREFIX.beamline_prefix}-EA-DET-02:CAM:",
35
40
  lens_mode_type=LensMode,
36
41
  psu_mode_type=PsuMode,
37
- energy_sources={SelectedSource.SOURCE1: dcm().energy_in_ev},
42
+ energy_source=energy_source(),
38
43
  )
@@ -0,0 +1,25 @@
1
+ from dodal.common.beamlines.beamline_utils import (
2
+ device_factory,
3
+ )
4
+ from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
5
+ from dodal.devices.synchrotron import Synchrotron
6
+ from dodal.devices.temperture_controller import Lakeshore336
7
+ from dodal.log import set_beamline as set_log_beamline
8
+ from dodal.utils import BeamlinePrefix, get_beamline_name
9
+
10
+ BL = get_beamline_name("i10-1")
11
+ PREFIX = BeamlinePrefix(BL, suffix="J")
12
+ set_log_beamline(BL)
13
+ set_utils_beamline(BL)
14
+
15
+
16
+ @device_factory()
17
+ def synchrotron() -> Synchrotron:
18
+ return Synchrotron()
19
+
20
+
21
+ @device_factory()
22
+ def em_temperature_controller() -> Lakeshore336:
23
+ return Lakeshore336(
24
+ prefix=f"{PREFIX.beamline_prefix}-EA-TCTRL-41:",
25
+ )