dls-dodal 1.30.0__py3-none-any.whl → 1.31.0__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.
- {dls_dodal-1.30.0.dist-info → dls_dodal-1.31.0.dist-info}/METADATA +4 -4
- {dls_dodal-1.30.0.dist-info → dls_dodal-1.31.0.dist-info}/RECORD +64 -62
- {dls_dodal-1.30.0.dist-info → dls_dodal-1.31.0.dist-info}/WHEEL +1 -1
- dodal/_version.py +2 -2
- dodal/beamline_specific_utils/i03.py +1 -4
- dodal/beamlines/__init__.py +4 -0
- dodal/beamlines/i03.py +8 -8
- dodal/beamlines/i04.py +10 -9
- dodal/beamlines/i13_1.py +7 -7
- dodal/beamlines/i22.py +18 -18
- dodal/beamlines/p38.py +14 -14
- dodal/beamlines/p45.py +11 -11
- dodal/beamlines/training_rig.py +64 -0
- dodal/common/beamlines/beamline_parameters.py +5 -4
- dodal/common/beamlines/beamline_utils.py +9 -9
- dodal/common/types.py +4 -2
- dodal/common/udc_directory_provider.py +29 -22
- dodal/common/visit.py +59 -60
- dodal/devices/CTAB.py +1 -1
- dodal/devices/aperture.py +1 -1
- dodal/devices/aperturescatterguard.py +140 -188
- dodal/devices/areadetector/plugins/MJPG.py +2 -1
- dodal/devices/backlight.py +12 -1
- dodal/devices/dcm.py +1 -1
- dodal/devices/detector/detector.py +31 -30
- dodal/devices/detector/detector_motion.py +1 -1
- dodal/devices/fast_grid_scan.py +14 -24
- dodal/devices/focusing_mirror.py +2 -2
- dodal/devices/i22/dcm.py +1 -1
- dodal/devices/i22/fswitch.py +6 -2
- dodal/devices/i22/nxsas.py +32 -11
- dodal/devices/i24/aperture.py +1 -1
- dodal/devices/i24/beamstop.py +1 -1
- dodal/devices/i24/dcm.py +1 -1
- dodal/devices/i24/i24_detector_motion.py +1 -1
- dodal/devices/i24/pmac.py +24 -8
- dodal/devices/linkam3.py +1 -1
- dodal/devices/motors.py +1 -1
- dodal/devices/oav/oav_to_redis_forwarder.py +46 -17
- dodal/devices/robot.py +1 -2
- dodal/devices/scatterguard.py +1 -1
- dodal/devices/scintillator.py +1 -1
- dodal/devices/slits.py +1 -1
- dodal/devices/smargon.py +1 -1
- dodal/devices/tetramm.py +20 -16
- dodal/devices/training_rig/__init__.py +0 -0
- dodal/devices/training_rig/sample_stage.py +10 -0
- dodal/devices/turbo_slit.py +1 -1
- dodal/devices/undulator.py +1 -1
- dodal/devices/util/adjuster_plans.py +1 -1
- dodal/devices/util/save_panda.py +1 -1
- dodal/devices/util/test_utils.py +1 -1
- dodal/devices/xbpm_feedback.py +1 -2
- dodal/devices/xspress3/xspress3.py +1 -1
- dodal/devices/zebra.py +5 -0
- dodal/devices/zebra_controlled_shutter.py +24 -9
- dodal/devices/zocalo/zocalo_results.py +6 -2
- dodal/log.py +32 -10
- dodal/plans/check_topup.py +65 -10
- dodal/plans/data_session_metadata.py +8 -10
- dodal/plans/motor_util_plans.py +1 -1
- dodal/devices/beamstop.py +0 -8
- {dls_dodal-1.30.0.dist-info → dls_dodal-1.31.0.dist-info}/LICENSE +0 -0
- {dls_dodal-1.30.0.dist-info → dls_dodal-1.31.0.dist-info}/entry_points.txt +0 -0
- {dls_dodal-1.30.0.dist-info → dls_dodal-1.31.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dls-dodal
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.31.0
|
|
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>
|
|
6
6
|
License: Apache License
|
|
@@ -216,15 +216,15 @@ Description-Content-Type: text/markdown
|
|
|
216
216
|
License-File: LICENSE
|
|
217
217
|
Requires-Dist: click
|
|
218
218
|
Requires-Dist: ophyd
|
|
219
|
-
Requires-Dist: ophyd-async
|
|
219
|
+
Requires-Dist: ophyd-async >=0.5.2
|
|
220
220
|
Requires-Dist: bluesky
|
|
221
221
|
Requires-Dist: pyepics
|
|
222
222
|
Requires-Dist: dataclasses-json
|
|
223
223
|
Requires-Dist: pillow
|
|
224
|
-
Requires-Dist: zocalo
|
|
224
|
+
Requires-Dist: zocalo >=1.0.0
|
|
225
225
|
Requires-Dist: requests
|
|
226
226
|
Requires-Dist: graypy
|
|
227
|
-
Requires-Dist: pydantic
|
|
227
|
+
Requires-Dist: pydantic >=2.0
|
|
228
228
|
Requires-Dist: opencv-python-headless
|
|
229
229
|
Requires-Dist: aioca
|
|
230
230
|
Requires-Dist: p4p
|
|
@@ -1,99 +1,99 @@
|
|
|
1
1
|
dodal/__init__.py,sha256=v-rRiDOgZ3sQSMQKq0vgUQZvpeOkoHFXissAx6Ktg84,61
|
|
2
2
|
dodal/__main__.py,sha256=kP2S2RPitnOWpNGokjZ1Yq-1umOtp5sNOZk2B3tBPLM,111
|
|
3
|
-
dodal/_version.py,sha256=
|
|
3
|
+
dodal/_version.py,sha256=dzZT_zSNuduMjHe-sn5PEo3LacKN_h-teTqnUR5SOGk,413
|
|
4
4
|
dodal/adsim.py,sha256=OW2dcS7ciD4Yq9WFw4PN_c5Bwccrmu7R-zr-u6ZCbQM,497
|
|
5
5
|
dodal/cli.py,sha256=_crmaHchxphSW8eEJB58_XZIeK82aiUv9bV7tpz-LpA,2122
|
|
6
|
-
dodal/log.py,sha256=
|
|
6
|
+
dodal/log.py,sha256=0to7CRsbzbgVfAAfKRAMhsaUuKqF2-7CGdQc-z8Uhno,9499
|
|
7
7
|
dodal/utils.py,sha256=VV-IQHehAdE95wxq3C4kIl5Dt5MTtmgzVaqKm-k3Q4I,11769
|
|
8
8
|
dodal/beamline_specific_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
dodal/beamline_specific_utils/i03.py,sha256=
|
|
9
|
+
dodal/beamline_specific_utils/i03.py,sha256=eM6ZWZzpL0JYNBff8LhOnwFoZTJ5PDCY2XWI7ZKdtFY,276
|
|
10
10
|
dodal/beamlines/README.md,sha256=K9MkL_GomxlsoTB7Mz-_dJA5NNSbmCfMiutchGg3C8o,404
|
|
11
|
-
dodal/beamlines/__init__.py,sha256=
|
|
12
|
-
dodal/beamlines/i03.py,sha256=
|
|
13
|
-
dodal/beamlines/i04.py,sha256=
|
|
11
|
+
dodal/beamlines/__init__.py,sha256=CD0Dz2H1adLsqY4H3-_QxTdODPZD6mquMfsep5W5s0Q,3076
|
|
12
|
+
dodal/beamlines/i03.py,sha256=VHfGk4-Smz5KviL4OpPVlnYGO4rbDAtnGwKtN20hxK0,17004
|
|
13
|
+
dodal/beamlines/i04.py,sha256=JbpOssCBdpDd-TbElc0TfVOZ1tUnDjEFZkj5h1gR6Og,13767
|
|
14
14
|
dodal/beamlines/i04_1.py,sha256=KDxSUQNhIs_NFiRaLY-Jiory0DeN7Y0ErvGuoTrwCDU,4731
|
|
15
|
-
dodal/beamlines/i13_1.py,sha256=
|
|
15
|
+
dodal/beamlines/i13_1.py,sha256=csXHrdwUh4sXTmb4X6ZiiSS_XxRkNShsVoBMxYI6rG0,1833
|
|
16
16
|
dodal/beamlines/i20_1.py,sha256=MaPgONHqpoZuBtkiKEzYtViJnKBM2_ekeP4OdbmuXHE,1158
|
|
17
|
-
dodal/beamlines/i22.py,sha256=
|
|
17
|
+
dodal/beamlines/i22.py,sha256=ko3bo0WoZCFTSQkrNs9m_qDhvEpGWkSzEAZgpo0sRU0,9804
|
|
18
18
|
dodal/beamlines/i23.py,sha256=2j5qLoqE_hg9ETHqNkOVu7LLkVB8qalgXeORnVYKN_I,1075
|
|
19
19
|
dodal/beamlines/i24.py,sha256=1XVCNWbzowQB6CWpJGSLp9Ih0zypktIzHxb64h-Xj6Y,6583
|
|
20
|
-
dodal/beamlines/p38.py,sha256=
|
|
21
|
-
dodal/beamlines/p45.py,sha256=
|
|
20
|
+
dodal/beamlines/p38.py,sha256=mCDjRVpY6AIFIAAYCWe-jGABHadFwfJB7poa-dGMU6s,7940
|
|
21
|
+
dodal/beamlines/p45.py,sha256=N4SDTIFok3uMqb37higZHMr3xRjxItsT4ib_KacKKAE,2935
|
|
22
22
|
dodal/beamlines/p99.py,sha256=mHMYi1M_jgSB9SrOPadxvPuMrxG8LmJOYtU0Iw6fnIQ,1708
|
|
23
|
+
dodal/beamlines/training_rig.py,sha256=yagMEQruA1iTOeQCNpux-6xOtkBuB-hhGvAJwQ5c9bg,1846
|
|
23
24
|
dodal/common/__init__.py,sha256=ZC4ICKUDB0BDxRaVy8nmqclVmDBne-dPtk6UJsoFq6I,258
|
|
24
25
|
dodal/common/coordination.py,sha256=OxIjDiO1-9A9KESRPFtzwkvvQlavbgA5RHemlbubBPg,1168
|
|
25
26
|
dodal/common/maths.py,sha256=K9x7iL3xXLtWYTV-xlFHDNSTIL9a2UP3Ws7wr6Dm2rQ,1803
|
|
26
|
-
dodal/common/types.py,sha256=
|
|
27
|
-
dodal/common/udc_directory_provider.py,sha256=
|
|
28
|
-
dodal/common/visit.py,sha256=
|
|
27
|
+
dodal/common/types.py,sha256=r7Oxcw4lIGi-mvBWc1TF4LDB45q7N4IawNgOMhPohK8,621
|
|
28
|
+
dodal/common/udc_directory_provider.py,sha256=H-9f6uSVGuA8jyiErPi8ikCw1JDrhRAJv-qPpN-HwJk,2379
|
|
29
|
+
dodal/common/visit.py,sha256=2UbbCmgOjZWSCxFzE9RYiTJhA_IoVOegma-Jv-PJqps,5787
|
|
29
30
|
dodal/common/beamlines/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
|
-
dodal/common/beamlines/beamline_parameters.py,sha256=
|
|
31
|
-
dodal/common/beamlines/beamline_utils.py,sha256=
|
|
31
|
+
dodal/common/beamlines/beamline_parameters.py,sha256=oIPHooqu5vTAwfqZutsKbzwdi9nvFF8568Mz7jrK5rI,3618
|
|
32
|
+
dodal/common/beamlines/beamline_utils.py,sha256=rL-XgqAbaZF2FJDFj8OHSbvzCxSwzCUGMfTUWT5qOXs,4422
|
|
32
33
|
dodal/common/beamlines/device_helpers.py,sha256=s79js7no9k8JMfG7NvdmFomSP5m5VDQ6th_Hsbx1znA,939
|
|
33
|
-
dodal/devices/CTAB.py,sha256=
|
|
34
|
+
dodal/devices/CTAB.py,sha256=MoExneblYUHg9Va8vAVx_p_Vw_HnqbhkzxxrX7Ic_wo,2000
|
|
34
35
|
dodal/devices/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
35
36
|
dodal/devices/adsim.py,sha256=dMU0TKIuiODHYFHQOH4_5UvB8iJtaJEtjqaEDGjcU-w,311
|
|
36
|
-
dodal/devices/aperture.py,sha256=
|
|
37
|
-
dodal/devices/aperturescatterguard.py,sha256=
|
|
37
|
+
dodal/devices/aperture.py,sha256=BLaroQ3n8yd7uZyacJ3KvDWZH8yhA_sJc8b49QMKg9o,585
|
|
38
|
+
dodal/devices/aperturescatterguard.py,sha256=id2-h6VB9hMU2dmgkpFkTLOPKiqAktMHsLb7YY0LX-4,8428
|
|
38
39
|
dodal/devices/attenuator.py,sha256=viK1iccNekX6ZvR_ZmSwj5JdM1j2B8pcTg8qWDdmzhQ,2584
|
|
39
|
-
dodal/devices/backlight.py,sha256=
|
|
40
|
-
dodal/devices/beamstop.py,sha256=8L3qhlk-3ZBOp10xK1i8qZqYTGOXX1mVF1MgXoN0dfg,215
|
|
40
|
+
dodal/devices/backlight.py,sha256=mOnptopsVOsT8JUIX_siDRgJ73CQPz_bm0Eb7oA81wc,1607
|
|
41
41
|
dodal/devices/cryostream.py,sha256=CpNA2HGhN_PXkL9eqH_yAPsDxyOLIiehlUxEoNmXJVg,668
|
|
42
|
-
dodal/devices/dcm.py,sha256=
|
|
42
|
+
dodal/devices/dcm.py,sha256=eZNMGjLM56Ll0siU14XomB77W_grLIdxIrMOQNmYFG8,1609
|
|
43
43
|
dodal/devices/eiger.py,sha256=sR-Fr97Y0lzzq57fFOUTwUZw5E7asoj36A1JR1QUkLI,13985
|
|
44
44
|
dodal/devices/eiger_odin.py,sha256=tDpEhOUY02YManYAMRI3TwSDDa3uITBxI0JHevaK7Rk,7010
|
|
45
|
-
dodal/devices/fast_grid_scan.py,sha256=
|
|
45
|
+
dodal/devices/fast_grid_scan.py,sha256=7u4YvaoR0CsKs9hgawi5p73v0dY_yJwC0_RlFz25R7Y,11922
|
|
46
46
|
dodal/devices/fluorescence_detector_motion.py,sha256=5IcyaVHXa9TXLFlLB0tfpQ1_ThgIRJNaFNw_uj6ahCA,501
|
|
47
47
|
dodal/devices/flux.py,sha256=RtPStHw7Mad0igVKntKWVZfuZn2clokVJqH14HLix6M,198
|
|
48
|
-
dodal/devices/focusing_mirror.py,sha256=
|
|
48
|
+
dodal/devices/focusing_mirror.py,sha256=Gx3diH-0VH457MR40HMCovXRjcAALSCO0q2np4l-dL4,5911
|
|
49
49
|
dodal/devices/hutch_shutter.py,sha256=_-hR3SJHM05YHV_fEtc0VYOLamYnpVGDE56AwJGJS48,3320
|
|
50
50
|
dodal/devices/ipin.py,sha256=qsf8E3xrJYNDwzsacNLCCp3gaqsadqmN1b-Fvou8y8k,420
|
|
51
|
-
dodal/devices/linkam3.py,sha256=
|
|
51
|
+
dodal/devices/linkam3.py,sha256=3oYwPtaKSPvLKEat8m7tuhE4Wizz8mg8HMrEWPCYxn0,3820
|
|
52
52
|
dodal/devices/logging_ophyd_device.py,sha256=dUVE-XhWA56WUXez0mrc4sf322CXY3MVLreTycO5j_A,668
|
|
53
|
-
dodal/devices/motors.py,sha256=
|
|
53
|
+
dodal/devices/motors.py,sha256=dYa9T6FDMTbr8GvTb-lXtk3v4QEqAWRuGmHIO20fazQ,1039
|
|
54
54
|
dodal/devices/p45.py,sha256=jzBW2fGRhIbGzSRs5Fgupxro6aqE611n1RTcrTTG-yY,1047
|
|
55
|
-
dodal/devices/robot.py,sha256=
|
|
55
|
+
dodal/devices/robot.py,sha256=VaD2_ogt497myakfkCC1cGfBoz1I6QVdO8AXzFuGis4,4813
|
|
56
56
|
dodal/devices/s4_slit_gaps.py,sha256=j3kgF9WfGFaU9xdUuiAh-QqI5u_vhiAftaDVINt91SM,243
|
|
57
|
-
dodal/devices/scatterguard.py,sha256=
|
|
58
|
-
dodal/devices/scintillator.py,sha256=
|
|
59
|
-
dodal/devices/slits.py,sha256=
|
|
60
|
-
dodal/devices/smargon.py,sha256=
|
|
57
|
+
dodal/devices/scatterguard.py,sha256=jx03in9QgaThWxD4t1S8_Llent2kWrn_hThJ9KkUWTk,330
|
|
58
|
+
dodal/devices/scintillator.py,sha256=PlD6cnJ39PTB_e7QrRspPliLYE4kL_K7ziJURzuxgdA,365
|
|
59
|
+
dodal/devices/slits.py,sha256=uOyVmbgeygiP6e5Z9t5zMPXLuVEWFfYg9GB3ZU76Tug,600
|
|
60
|
+
dodal/devices/smargon.py,sha256=hX-tCftKumxk67eS5-_gQRmYOrjSyQ4s3mMJsTRuvCk,4706
|
|
61
61
|
dodal/devices/status.py,sha256=hVrJS1yooQo6PRumRACoIEh-SKBUKxvBlQl-MtLFUMQ,327
|
|
62
62
|
dodal/devices/synchrotron.py,sha256=QtTufJA_fCaBawHougSc7nxwu240oX46_y0P-4qIW8o,1960
|
|
63
|
-
dodal/devices/tetramm.py,sha256=
|
|
63
|
+
dodal/devices/tetramm.py,sha256=ofWhLYFZHCRopDK_WRs1eo-B1ra4bUhwq1MLaVKl4ys,8572
|
|
64
64
|
dodal/devices/thawer.py,sha256=Gq-3f__KJUM6_Ds9OVxpZ5jC447HywJxQGXen6L33Lk,1616
|
|
65
|
-
dodal/devices/turbo_slit.py,sha256=
|
|
66
|
-
dodal/devices/undulator.py,sha256=
|
|
65
|
+
dodal/devices/turbo_slit.py,sha256=B6SPXqviMnG-U4PnUF1BdTO0LBKmTuwAUKRbxMiNJXo,1125
|
|
66
|
+
dodal/devices/undulator.py,sha256=Uf7DpRjhtqkRcNWTqgtrRjoj6tLLgHEPgkxccWU6LE8,2073
|
|
67
67
|
dodal/devices/undulator_dcm.py,sha256=qUMGKnRluO2jsfz6TuXx6ddN59MlLg1lBqloeBgYZIg,5134
|
|
68
68
|
dodal/devices/webcam.py,sha256=znZHHmQjM0T0XSAYXJraCGlwPPGbt3PF6rWjTSbAikI,1394
|
|
69
|
-
dodal/devices/xbpm_feedback.py,sha256
|
|
70
|
-
dodal/devices/zebra.py,sha256=
|
|
71
|
-
dodal/devices/zebra_controlled_shutter.py,sha256=
|
|
69
|
+
dodal/devices/xbpm_feedback.py,sha256=-1wbnahJ_oSljQR0Sjiwn3mytVP-VwsAy0a_YPjPM0Y,1168
|
|
70
|
+
dodal/devices/zebra.py,sha256=iTHkKv8EP-gkr0Cl2gR9yxt2qTHT2Q4etS67Rshf83k,9327
|
|
71
|
+
dodal/devices/zebra_controlled_shutter.py,sha256=w2ISASJ_sb3dbQGi63Yuj3ymTkjX73aSl_ZTYs8TyaI,1860
|
|
72
72
|
dodal/devices/areadetector/__init__.py,sha256=8IwLxuZMW0MOJpJp_ZDdlaE20hrtsH_PXWGaKgMiYs4,240
|
|
73
73
|
dodal/devices/areadetector/adaravis.py,sha256=Cqw_Mzrp_zODFxQ2LZBJzHp_DsZ6_dAITkZz8gYz_0w,3797
|
|
74
74
|
dodal/devices/areadetector/adsim.py,sha256=cIc9PRbKnftBk7Ut8d8CU_TVrin8EwcKHObP2n9VxWM,1876
|
|
75
75
|
dodal/devices/areadetector/adutils.py,sha256=4axFR3wtn-K-sjMVJyfTcu-8g35odf2cY8mTKv1gS-o,3093
|
|
76
|
-
dodal/devices/areadetector/plugins/MJPG.py,sha256=
|
|
76
|
+
dodal/devices/areadetector/plugins/MJPG.py,sha256=MqxDbrgpTzM0ezjcEWuLlK80i4M_KLNfdknHCx7k_LM,4100
|
|
77
77
|
dodal/devices/detector/__init__.py,sha256=-RdACL3tzc3lLArWOoGNje48UUlv2fElOmGOz9yOuO0,317
|
|
78
78
|
dodal/devices/detector/det_dim_constants.py,sha256=LNrVMd0DbFEcnyNFmXosCP-VYaZ71Ajuv6inwo4Mg3U,2299
|
|
79
79
|
dodal/devices/detector/det_dist_to_beam_converter.py,sha256=7keoqZYfvgayePVx97lHYpcFRTJnQOfAk_PYP4EZTZQ,1951
|
|
80
80
|
dodal/devices/detector/det_resolution.py,sha256=aQkKp24LpRGiwzPAQM3wLVa4ANw32HdrKc2kftHfKQA,3253
|
|
81
|
-
dodal/devices/detector/detector.py,sha256=
|
|
82
|
-
dodal/devices/detector/detector_motion.py,sha256=
|
|
81
|
+
dodal/devices/detector/detector.py,sha256=RT0cIytpTua1L4k0LrtsZYaXFpB0lkwlGN8q7sQhBrA,4767
|
|
82
|
+
dodal/devices/detector/detector_motion.py,sha256=LjHNi9FcDSZoriQYrFde8fEmwCGccFgSHPtcxivix4g,1628
|
|
83
83
|
dodal/devices/i03/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
84
84
|
dodal/devices/i04/transfocator.py,sha256=uieByXIj0JRbmvMB_om5NOAEbEJkzfkCD24bl2aEo1g,3154
|
|
85
85
|
dodal/devices/i20_1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
86
|
-
dodal/devices/i22/dcm.py,sha256=
|
|
87
|
-
dodal/devices/i22/fswitch.py,sha256=
|
|
88
|
-
dodal/devices/i22/nxsas.py,sha256=
|
|
86
|
+
dodal/devices/i22/dcm.py,sha256=YXf4iH4-dNTfm0NPUgrbn1iLP24id4pR8xLsvLc_iWg,6290
|
|
87
|
+
dodal/devices/i22/fswitch.py,sha256=AlyZ_RdbXoMHrG2-sddNOUyLl3vkBdduXVnFL_rMgLo,3046
|
|
88
|
+
dodal/devices/i22/nxsas.py,sha256=a8oJXl5uhkh9zcb9rSZmVooU-SplzzO3EsAaHJZRfrQ,6086
|
|
89
89
|
dodal/devices/i24/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
90
|
-
dodal/devices/i24/aperture.py,sha256=
|
|
91
|
-
dodal/devices/i24/beamstop.py,sha256=
|
|
92
|
-
dodal/devices/i24/dcm.py,sha256=
|
|
90
|
+
dodal/devices/i24/aperture.py,sha256=bbT4ts5jfrjrOxG199RGDxIYmzVyv1k0ZlZcmS6kEzU,849
|
|
91
|
+
dodal/devices/i24/beamstop.py,sha256=GpqSaHlyZfcUfaCgvQRjhDgNdGsrOwV_NqG9JLfcusY,1233
|
|
92
|
+
dodal/devices/i24/dcm.py,sha256=nP2qymTy5TrOu078XOY7h1TEwVfcgli5lTyxmwsG4O8,1990
|
|
93
93
|
dodal/devices/i24/dual_backlight.py,sha256=Th-RKr28aFxE8LCT_mdN9KkRIVw0BHLGKkI0ienfRZU,2049
|
|
94
|
-
dodal/devices/i24/i24_detector_motion.py,sha256=
|
|
94
|
+
dodal/devices/i24/i24_detector_motion.py,sha256=_HgdsZqFYY0tKqUgMzViHaPEUFXL3WlXXioGvDehRUw,364
|
|
95
95
|
dodal/devices/i24/i24_vgonio.py,sha256=Igqs7687z6lyhGVeJEDtDmPachYxU48MUH2BF0RpK9Q,461
|
|
96
|
-
dodal/devices/i24/pmac.py,sha256=
|
|
96
|
+
dodal/devices/i24/pmac.py,sha256=suWoOIQKhCeQvgBJ8_htRAG6k0REN32viElwvs2nkEg,5224
|
|
97
97
|
dodal/devices/oav/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
98
98
|
dodal/devices/oav/grid_overlay.py,sha256=kYs4sCvmo7yG75HQtptuI8jPzM7dR4fSqnOGL0D5j6g,5338
|
|
99
99
|
dodal/devices/oav/microns_for_zoom_levels.json,sha256=kJTkbu2v6_Ccc_cDy7FRTX-gRhXxfYskjVqwBCZIqCQ,1209
|
|
@@ -101,32 +101,34 @@ dodal/devices/oav/oav_calculations.py,sha256=wt71vFcyQrr98FvX8oyUM2n5vmKi3K7PyOT
|
|
|
101
101
|
dodal/devices/oav/oav_detector.py,sha256=NpIs6gcMrwe39M1y42M2ZtUhjrbl2LuMmNuUjjc13vg,3785
|
|
102
102
|
dodal/devices/oav/oav_errors.py,sha256=cc4mGnaTiAc5WIlOt_BIYOc7CRSkrCdnBaavfAJ0pXY,754
|
|
103
103
|
dodal/devices/oav/oav_parameters.py,sha256=rI0kRl8B-N2mw91yYf1lEQVn0hkBQCPU7jvljr5ZNpk,8235
|
|
104
|
-
dodal/devices/oav/oav_to_redis_forwarder.py,sha256=
|
|
104
|
+
dodal/devices/oav/oav_to_redis_forwarder.py,sha256=3I8Vk1Qx04aVftXb7VVkHUVHweGGUyuLFdmaasmb_Qk,4606
|
|
105
105
|
dodal/devices/oav/utils.py,sha256=OyE4h4eq_jg9bEq5DfcjCU-wfSJifO2-PIsrDbsa0NE,3020
|
|
106
106
|
dodal/devices/oav/pin_image_recognition/__init__.py,sha256=l5IsWMDZDw3-jk0DkGpiw_BzqyfVYRonlfX6Je1ZPR0,6446
|
|
107
107
|
dodal/devices/oav/pin_image_recognition/manual_test.py,sha256=h1Rto6ZDCB3jWhjSy9N8ECxRN583iYDJr9LxrTJ8kfE,903
|
|
108
108
|
dodal/devices/oav/pin_image_recognition/utils.py,sha256=L9ypluYqeOFoS7gQuws-vTNc8LqaKl2ZIDNeQ2JaNpg,8592
|
|
109
109
|
dodal/devices/p99/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
110
110
|
dodal/devices/p99/sample_stage.py,sha256=kvwKCDUmXqcoXfIbAENtqm3Hi2cHP7dZIPQgQT6hsXw,1140
|
|
111
|
+
dodal/devices/training_rig/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
112
|
+
dodal/devices/training_rig/sample_stage.py,sha256=jktTp837ij8wor5LidE3AajCk95L7DebJotMlO7QwTE,355
|
|
111
113
|
dodal/devices/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
112
|
-
dodal/devices/util/adjuster_plans.py,sha256=
|
|
114
|
+
dodal/devices/util/adjuster_plans.py,sha256=g4HTpji3XhIhpWvyDLyCYYLGOSE7uNpDeQHfh8259hE,878
|
|
113
115
|
dodal/devices/util/epics_util.py,sha256=R0_I9HEZ2l19BZaTpevPqT3p3kp5GZCfmNNmnXGfdsc,4689
|
|
114
116
|
dodal/devices/util/lookup_tables.py,sha256=EkO4FlRluakobZzmTQnl1XYYuzezE5T4O760bDTtYRM,2137
|
|
115
117
|
dodal/devices/util/motor_utils.py,sha256=pNY-aUk9LxaIWeDr5rpMS6udiB9j19wcCXkNDLp1uA0,257
|
|
116
|
-
dodal/devices/util/save_panda.py,sha256=
|
|
117
|
-
dodal/devices/util/test_utils.py,sha256=
|
|
118
|
-
dodal/devices/xspress3/xspress3.py,sha256=
|
|
118
|
+
dodal/devices/util/save_panda.py,sha256=PHFlkerBhkkU0-o5dNEdi2P95_jD9Lk8yYgaqn9R97o,2538
|
|
119
|
+
dodal/devices/util/test_utils.py,sha256=VrSFFGLNKOcCAsWFMZOxwhng3wGR5kV8NqqnKfj8Vuw,562
|
|
120
|
+
dodal/devices/xspress3/xspress3.py,sha256=JTx3ppAc8GwV9K-Gfqo81iGYH_L-ONyFWiPRs9XUs-w,4661
|
|
119
121
|
dodal/devices/xspress3/xspress3_channel.py,sha256=yJRwseLmtkW2Vv6GB8sLdOFuBn3e4c9Q8fgPacMgl5w,1638
|
|
120
122
|
dodal/devices/zocalo/__init__.py,sha256=oPhjFB39yf2NWkGD-MMcPFnnOVZ_RtdyBt2OLYn-Xa4,505
|
|
121
123
|
dodal/devices/zocalo/zocalo_interaction.py,sha256=cc-OwjNsh9oMpMghceVWKW9gym_TFmP-mOYBd3H1H7Q,3379
|
|
122
|
-
dodal/devices/zocalo/zocalo_results.py,sha256=
|
|
124
|
+
dodal/devices/zocalo/zocalo_results.py,sha256=L4bUc8xkYCmn5KCx_vcMKFBiBO5F9nhYEffv8fGUS48,9891
|
|
123
125
|
dodal/parameters/experiment_parameter_base.py,sha256=O7JamfuJ5cYHkPf9tsHJPqn-OMHTAGouigvM1cDFehE,313
|
|
124
|
-
dodal/plans/check_topup.py,sha256=
|
|
125
|
-
dodal/plans/data_session_metadata.py,sha256=
|
|
126
|
-
dodal/plans/motor_util_plans.py,sha256=
|
|
127
|
-
dls_dodal-1.
|
|
128
|
-
dls_dodal-1.
|
|
129
|
-
dls_dodal-1.
|
|
130
|
-
dls_dodal-1.
|
|
131
|
-
dls_dodal-1.
|
|
132
|
-
dls_dodal-1.
|
|
126
|
+
dodal/plans/check_topup.py,sha256=3gyLHfHNQBCgEWuAg4QE-ONx7y2Do1vVv5HP8ss0Z1I,5371
|
|
127
|
+
dodal/plans/data_session_metadata.py,sha256=urexZ3mA0K6VWxVW3MlrcsB1Tyi09tFvpKBlaVil7TQ,1567
|
|
128
|
+
dodal/plans/motor_util_plans.py,sha256=JT1K4DBB66MrzNqimxFgiL6mRsj11fF7xZXOz0udEeo,4522
|
|
129
|
+
dls_dodal-1.31.0.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
130
|
+
dls_dodal-1.31.0.dist-info/METADATA,sha256=uNvk8E5kYjd9SACW3TCTd32eTJtrTCHJSM_bn9sZhyc,16547
|
|
131
|
+
dls_dodal-1.31.0.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
|
132
|
+
dls_dodal-1.31.0.dist-info/entry_points.txt,sha256=bycw_EKUzup_rxfCetOwcauXV4kLln_OPpPT8jEnr-I,94
|
|
133
|
+
dls_dodal-1.31.0.dist-info/top_level.txt,sha256=xIozdmZk_wmMV4wugpq9-6eZs0vgADNUKz3j2UAwlhc,6
|
|
134
|
+
dls_dodal-1.31.0.dist-info/RECORD,,
|
dodal/_version.py
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
from dataclasses import dataclass
|
|
2
2
|
|
|
3
|
-
from dodal.devices.aperturescatterguard import SingleAperturePosition
|
|
4
|
-
|
|
5
3
|
I03_BEAM_HEIGHT_UM = 20
|
|
6
4
|
|
|
7
5
|
|
|
@@ -11,6 +9,5 @@ class BeamSize:
|
|
|
11
9
|
y_um: float | None
|
|
12
10
|
|
|
13
11
|
|
|
14
|
-
def beam_size_from_aperture(
|
|
15
|
-
aperture_size = position.radius_microns
|
|
12
|
+
def beam_size_from_aperture(aperture_size: float | None):
|
|
16
13
|
return BeamSize(aperture_size, I03_BEAM_HEIGHT_UM if aperture_size else None)
|
dodal/beamlines/__init__.py
CHANGED
dodal/beamlines/i03.py
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
from ophyd_async.panda import HDFPanda
|
|
1
|
+
from ophyd_async.fastcs.panda import HDFPanda
|
|
2
2
|
|
|
3
3
|
from dodal.common.beamlines.beamline_parameters import get_beamline_parameters
|
|
4
4
|
from dodal.common.beamlines.beamline_utils import (
|
|
5
5
|
device_instantiation,
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
get_path_provider,
|
|
7
|
+
set_path_provider,
|
|
8
8
|
)
|
|
9
9
|
from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
|
|
10
|
-
from dodal.common.udc_directory_provider import
|
|
10
|
+
from dodal.common.udc_directory_provider import PandASubpathProvider
|
|
11
11
|
from dodal.devices.aperturescatterguard import (
|
|
12
|
+
AperturePosition,
|
|
12
13
|
ApertureScatterguard,
|
|
13
14
|
load_positions_from_beamline_parameters,
|
|
14
|
-
load_tolerances_from_beamline_params,
|
|
15
15
|
)
|
|
16
16
|
from dodal.devices.attenuator import Attenuator
|
|
17
17
|
from dodal.devices.backlight import Backlight
|
|
@@ -52,7 +52,7 @@ BL = get_beamline_name("s03")
|
|
|
52
52
|
set_log_beamline(BL)
|
|
53
53
|
set_utils_beamline(BL)
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
set_path_provider(PandASubpathProvider())
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
def aperture_scatterguard(
|
|
@@ -71,7 +71,7 @@ def aperture_scatterguard(
|
|
|
71
71
|
wait=wait_for_connection,
|
|
72
72
|
fake=fake_with_ophyd_sim,
|
|
73
73
|
loaded_positions=load_positions_from_beamline_parameters(params),
|
|
74
|
-
tolerances=
|
|
74
|
+
tolerances=AperturePosition.tolerances_from_gda_params(params),
|
|
75
75
|
)
|
|
76
76
|
|
|
77
77
|
|
|
@@ -378,7 +378,7 @@ def panda(
|
|
|
378
378
|
"-EA-PANDA-01:",
|
|
379
379
|
wait_for_connection,
|
|
380
380
|
fake_with_ophyd_sim,
|
|
381
|
-
|
|
381
|
+
path_provider=get_path_provider(),
|
|
382
382
|
)
|
|
383
383
|
|
|
384
384
|
|
dodal/beamlines/i04.py
CHANGED
|
@@ -2,13 +2,12 @@ from dodal.common.beamlines.beamline_parameters import get_beamline_parameters
|
|
|
2
2
|
from dodal.common.beamlines.beamline_utils import device_instantiation
|
|
3
3
|
from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
|
|
4
4
|
from dodal.devices.aperturescatterguard import (
|
|
5
|
+
AperturePosition,
|
|
5
6
|
ApertureScatterguard,
|
|
6
7
|
load_positions_from_beamline_parameters,
|
|
7
|
-
load_tolerances_from_beamline_params,
|
|
8
8
|
)
|
|
9
9
|
from dodal.devices.attenuator import Attenuator
|
|
10
10
|
from dodal.devices.backlight import Backlight
|
|
11
|
-
from dodal.devices.beamstop import BeamStop
|
|
12
11
|
from dodal.devices.dcm import DCM
|
|
13
12
|
from dodal.devices.detector import DetectorParams
|
|
14
13
|
from dodal.devices.detector.detector_motion import DetectorMotion
|
|
@@ -107,14 +106,14 @@ def ipin(wait_for_connection: bool = True, fake_with_ophyd_sim: bool = False) ->
|
|
|
107
106
|
|
|
108
107
|
def beamstop(
|
|
109
108
|
wait_for_connection: bool = True, fake_with_ophyd_sim: bool = False
|
|
110
|
-
) ->
|
|
109
|
+
) -> XYZPositioner:
|
|
111
110
|
"""Get the i04 beamstop device, instantiate it if it hasn't already been.
|
|
112
111
|
If this is called when already instantiated in i04, it will return the existing object.
|
|
113
112
|
"""
|
|
114
113
|
return device_instantiation(
|
|
115
|
-
|
|
114
|
+
XYZPositioner,
|
|
116
115
|
"beamstop",
|
|
117
|
-
"",
|
|
116
|
+
"-MO-BS-01:",
|
|
118
117
|
wait_for_connection,
|
|
119
118
|
fake_with_ophyd_sim,
|
|
120
119
|
)
|
|
@@ -237,7 +236,7 @@ def aperture_scatterguard(
|
|
|
237
236
|
wait=wait_for_connection,
|
|
238
237
|
fake=fake_with_ophyd_sim,
|
|
239
238
|
loaded_positions=load_positions_from_beamline_parameters(params),
|
|
240
|
-
tolerances=
|
|
239
|
+
tolerances=AperturePosition.tolerances_from_gda_params(params),
|
|
241
240
|
)
|
|
242
241
|
|
|
243
242
|
|
|
@@ -411,9 +410,11 @@ def oav_to_redis_forwarder(
|
|
|
411
410
|
"""
|
|
412
411
|
return device_instantiation(
|
|
413
412
|
OAVToRedisForwarder,
|
|
414
|
-
"
|
|
415
|
-
"",
|
|
413
|
+
"oav_to_redis_forwarder",
|
|
414
|
+
"-DI-OAV-01:",
|
|
416
415
|
wait_for_connection,
|
|
417
416
|
fake_with_ophyd_sim,
|
|
418
|
-
|
|
417
|
+
redis_host=REDIS_HOST,
|
|
418
|
+
redis_password=REDIS_PASSWORD,
|
|
419
|
+
redis_db=7,
|
|
419
420
|
)
|
dodal/beamlines/i13_1.py
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
from pathlib import Path
|
|
2
2
|
|
|
3
|
-
from ophyd_async.epics.
|
|
3
|
+
from ophyd_async.epics.adaravis import AravisDetector
|
|
4
4
|
|
|
5
5
|
from dodal.common.beamlines.beamline_utils import (
|
|
6
6
|
device_instantiation,
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
get_path_provider,
|
|
8
|
+
set_path_provider,
|
|
9
9
|
)
|
|
10
10
|
from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
|
|
11
|
-
from dodal.common.visit import
|
|
11
|
+
from dodal.common.visit import StaticVisitPathProvider
|
|
12
12
|
from dodal.devices.motors import XYZPositioner
|
|
13
13
|
from dodal.log import set_beamline as set_log_beamline
|
|
14
14
|
from dodal.utils import get_beamline_name
|
|
@@ -16,8 +16,8 @@ from dodal.utils import get_beamline_name
|
|
|
16
16
|
BL = get_beamline_name("i13-1")
|
|
17
17
|
set_log_beamline(BL)
|
|
18
18
|
set_utils_beamline(BL)
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
set_path_provider(
|
|
20
|
+
StaticVisitPathProvider(
|
|
21
21
|
BL,
|
|
22
22
|
Path("/data/2024/cm37257-4/"), # latest commissioning visit
|
|
23
23
|
)
|
|
@@ -60,7 +60,7 @@ def side_camera(
|
|
|
60
60
|
bl_prefix=False,
|
|
61
61
|
drv_suffix="CAM:",
|
|
62
62
|
hdf_suffix="HDF5:",
|
|
63
|
-
|
|
63
|
+
path_provider=get_path_provider(),
|
|
64
64
|
wait=wait_for_connection,
|
|
65
65
|
fake=fake_with_ophyd_sim,
|
|
66
66
|
)
|
dodal/beamlines/i22.py
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
from pathlib import Path
|
|
2
2
|
|
|
3
|
-
from ophyd_async.epics.
|
|
4
|
-
from ophyd_async.
|
|
3
|
+
from ophyd_async.epics.adaravis import AravisDetector
|
|
4
|
+
from ophyd_async.epics.adpilatus import PilatusDetector
|
|
5
|
+
from ophyd_async.fastcs.panda import HDFPanda
|
|
5
6
|
|
|
6
7
|
from dodal.common.beamlines.beamline_utils import (
|
|
7
8
|
device_instantiation,
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
get_path_provider,
|
|
10
|
+
set_path_provider,
|
|
10
11
|
)
|
|
11
12
|
from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
|
|
12
13
|
from dodal.common.beamlines.device_helpers import numbered_slits
|
|
13
|
-
from dodal.common.visit import
|
|
14
|
+
from dodal.common.visit import RemoteDirectoryServiceClient, StaticVisitPathProvider
|
|
14
15
|
from dodal.devices.focusing_mirror import FocusingMirror
|
|
15
16
|
from dodal.devices.i22.dcm import CrystalMetadata, DoubleCrystalMonochromator
|
|
16
17
|
from dodal.devices.i22.fswitch import FSwitch
|
|
@@ -32,11 +33,11 @@ set_utils_beamline(BL)
|
|
|
32
33
|
# Communication with GDA is also WIP so for now we determine an arbitrary scan number
|
|
33
34
|
# locally and write the commissioning directory. The scan number is not guaranteed to
|
|
34
35
|
# be unique and the data is at risk - this configuration is for testing only.
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
set_path_provider(
|
|
37
|
+
StaticVisitPathProvider(
|
|
37
38
|
BL,
|
|
38
39
|
Path("/dls/i22/data/2024/cm37271-2/bluesky"),
|
|
39
|
-
client=
|
|
40
|
+
client=RemoteDirectoryServiceClient("http://i22-control:8088/api"),
|
|
40
41
|
)
|
|
41
42
|
)
|
|
42
43
|
|
|
@@ -61,7 +62,7 @@ def saxs(
|
|
|
61
62
|
sensor_thickness=(0.45, "mm"),
|
|
62
63
|
distance=(4711.833684146172, "mm"),
|
|
63
64
|
),
|
|
64
|
-
|
|
65
|
+
path_provider=get_path_provider(),
|
|
65
66
|
)
|
|
66
67
|
|
|
67
68
|
|
|
@@ -97,7 +98,7 @@ def waxs(
|
|
|
97
98
|
sensor_thickness=(0.45, "mm"),
|
|
98
99
|
distance=(175.4199417092314, "mm"),
|
|
99
100
|
),
|
|
100
|
-
|
|
101
|
+
path_provider=get_path_provider(),
|
|
101
102
|
)
|
|
102
103
|
|
|
103
104
|
|
|
@@ -112,7 +113,7 @@ def i0(
|
|
|
112
113
|
wait_for_connection,
|
|
113
114
|
fake_with_ophyd_sim,
|
|
114
115
|
type="Cividec Diamond XBPM",
|
|
115
|
-
|
|
116
|
+
path_provider=get_path_provider(),
|
|
116
117
|
)
|
|
117
118
|
|
|
118
119
|
|
|
@@ -127,7 +128,7 @@ def it(
|
|
|
127
128
|
wait_for_connection,
|
|
128
129
|
fake_with_ophyd_sim,
|
|
129
130
|
type="PIN Diode",
|
|
130
|
-
|
|
131
|
+
path_provider=get_path_provider(),
|
|
131
132
|
)
|
|
132
133
|
|
|
133
134
|
|
|
@@ -234,7 +235,6 @@ def slits_3(
|
|
|
234
235
|
)
|
|
235
236
|
|
|
236
237
|
|
|
237
|
-
@skip_device()
|
|
238
238
|
def slits_4(
|
|
239
239
|
wait_for_connection: bool = True,
|
|
240
240
|
fake_with_ophyd_sim: bool = False,
|
|
@@ -296,7 +296,7 @@ def panda1(
|
|
|
296
296
|
"-EA-PANDA-01:",
|
|
297
297
|
wait_for_connection,
|
|
298
298
|
fake_with_ophyd_sim,
|
|
299
|
-
|
|
299
|
+
path_provider=get_path_provider(),
|
|
300
300
|
)
|
|
301
301
|
|
|
302
302
|
|
|
@@ -311,7 +311,7 @@ def panda2(
|
|
|
311
311
|
"-EA-PANDA-02:",
|
|
312
312
|
wait_for_connection,
|
|
313
313
|
fake_with_ophyd_sim,
|
|
314
|
-
|
|
314
|
+
path_provider=get_path_provider(),
|
|
315
315
|
)
|
|
316
316
|
|
|
317
317
|
|
|
@@ -326,7 +326,7 @@ def panda3(
|
|
|
326
326
|
"-EA-PANDA-03:",
|
|
327
327
|
wait_for_connection,
|
|
328
328
|
fake_with_ophyd_sim,
|
|
329
|
-
|
|
329
|
+
path_provider=get_path_provider(),
|
|
330
330
|
)
|
|
331
331
|
|
|
332
332
|
|
|
@@ -341,7 +341,7 @@ def panda4(
|
|
|
341
341
|
"-EA-PANDA-04:",
|
|
342
342
|
wait_for_connection,
|
|
343
343
|
fake_with_ophyd_sim,
|
|
344
|
-
|
|
344
|
+
path_provider=get_path_provider(),
|
|
345
345
|
)
|
|
346
346
|
|
|
347
347
|
|
|
@@ -362,7 +362,7 @@ def oav(
|
|
|
362
362
|
description="AVT Mako G-507B",
|
|
363
363
|
distance=(-1.0, "m"),
|
|
364
364
|
),
|
|
365
|
-
|
|
365
|
+
path_provider=get_path_provider(),
|
|
366
366
|
)
|
|
367
367
|
|
|
368
368
|
|
dodal/beamlines/p38.py
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
from pathlib import Path
|
|
2
2
|
|
|
3
|
-
from ophyd_async.epics.
|
|
4
|
-
from ophyd_async.panda import HDFPanda
|
|
3
|
+
from ophyd_async.epics.adaravis import AravisDetector
|
|
4
|
+
from ophyd_async.fastcs.panda import HDFPanda
|
|
5
5
|
|
|
6
6
|
from dodal.common.beamlines.beamline_utils import (
|
|
7
7
|
device_instantiation,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
get_path_provider,
|
|
9
|
+
set_path_provider,
|
|
10
10
|
)
|
|
11
11
|
from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
|
|
12
12
|
from dodal.common.beamlines.device_helpers import numbered_slits
|
|
13
|
-
from dodal.common.visit import LocalDirectoryServiceClient,
|
|
13
|
+
from dodal.common.visit import LocalDirectoryServiceClient, StaticVisitPathProvider
|
|
14
14
|
from dodal.devices.focusing_mirror import FocusingMirror
|
|
15
15
|
from dodal.devices.i22.dcm import CrystalMetadata, DoubleCrystalMonochromator
|
|
16
16
|
from dodal.devices.i22.fswitch import FSwitch
|
|
@@ -30,8 +30,8 @@ set_utils_beamline(BL)
|
|
|
30
30
|
# Communication with GDA is also WIP so for now we determine an arbitrary scan number
|
|
31
31
|
# locally and write the commissioning directory. The scan number is not guaranteed to
|
|
32
32
|
# be unique and the data is at risk - this configuration is for testing only.
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
set_path_provider(
|
|
34
|
+
StaticVisitPathProvider(
|
|
35
35
|
BL,
|
|
36
36
|
Path("/dls/p38/data/2024/cm37282-2/bluesky"),
|
|
37
37
|
client=LocalDirectoryServiceClient(),
|
|
@@ -50,7 +50,7 @@ def d3(
|
|
|
50
50
|
fake_with_ophyd_sim,
|
|
51
51
|
drv_suffix="DET:",
|
|
52
52
|
hdf_suffix="HDF5:",
|
|
53
|
-
|
|
53
|
+
path_provider=get_path_provider(),
|
|
54
54
|
)
|
|
55
55
|
|
|
56
56
|
|
|
@@ -67,7 +67,7 @@ def d11(
|
|
|
67
67
|
fake_with_ophyd_sim,
|
|
68
68
|
drv_suffix="DET:",
|
|
69
69
|
hdf_suffix="HDF5:",
|
|
70
|
-
|
|
70
|
+
path_provider=get_path_provider(),
|
|
71
71
|
)
|
|
72
72
|
|
|
73
73
|
|
|
@@ -82,7 +82,7 @@ def d12(
|
|
|
82
82
|
fake_with_ophyd_sim,
|
|
83
83
|
drv_suffix="DET:",
|
|
84
84
|
hdf_suffix="HDF5:",
|
|
85
|
-
|
|
85
|
+
path_provider=get_path_provider(),
|
|
86
86
|
)
|
|
87
87
|
|
|
88
88
|
|
|
@@ -96,7 +96,7 @@ def i0(
|
|
|
96
96
|
"-EA-XBPM-01:",
|
|
97
97
|
wait_for_connection,
|
|
98
98
|
fake_with_ophyd_sim,
|
|
99
|
-
|
|
99
|
+
path_provider=get_path_provider(),
|
|
100
100
|
)
|
|
101
101
|
|
|
102
102
|
|
|
@@ -273,7 +273,7 @@ def panda1(
|
|
|
273
273
|
"-EA-PANDA-01:",
|
|
274
274
|
wait_for_connection,
|
|
275
275
|
fake_with_ophyd_sim,
|
|
276
|
-
|
|
276
|
+
path_provider=get_path_provider(),
|
|
277
277
|
)
|
|
278
278
|
|
|
279
279
|
|
|
@@ -288,7 +288,7 @@ def panda2(
|
|
|
288
288
|
"-EA-PANDA-02:",
|
|
289
289
|
wait_for_connection,
|
|
290
290
|
fake_with_ophyd_sim,
|
|
291
|
-
|
|
291
|
+
path_provider=get_path_provider(),
|
|
292
292
|
)
|
|
293
293
|
|
|
294
294
|
|
|
@@ -303,7 +303,7 @@ def panda3(
|
|
|
303
303
|
"-EA-PANDA-03:",
|
|
304
304
|
wait_for_connection,
|
|
305
305
|
fake_with_ophyd_sim,
|
|
306
|
-
|
|
306
|
+
path_provider=get_path_provider(),
|
|
307
307
|
)
|
|
308
308
|
|
|
309
309
|
|