mx-bluesky 1.4.4__py3-none-any.whl → 1.4.6__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.
- mx_bluesky/_version.py +9 -4
- mx_bluesky/beamlines/i04/redis_to_murko_forwarder.py +14 -3
- mx_bluesky/beamlines/i04/thawing_plan.py +9 -13
- mx_bluesky/beamlines/i24/serial/__init__.py +14 -0
- mx_bluesky/beamlines/i24/serial/dcid.py +3 -1
- mx_bluesky/beamlines/i24/serial/extruder/i24ssx_Extruder_Collect_py3v2.py +1 -1
- mx_bluesky/beamlines/i24/serial/fixed_target/i24ssx_Chip_Collect_py3v1.py +6 -3
- mx_bluesky/beamlines/i24/serial/fixed_target/i24ssx_Chip_Manager_py3v1.py +11 -11
- mx_bluesky/beamlines/i24/serial/fixed_target/i24ssx_moveonclick.py +3 -3
- mx_bluesky/beamlines/i24/serial/log.py +0 -1
- mx_bluesky/beamlines/i24/serial/parameters/constants.py +1 -1
- mx_bluesky/beamlines/i24/serial/setup_beamline/setup_beamline.py +3 -3
- mx_bluesky/beamlines/i24/serial/setup_beamline/setup_detector.py +1 -1
- mx_bluesky/beamlines/i24/serial/setup_beamline/setup_zebra_plans.py +2 -2
- mx_bluesky/beamlines/i24/serial/web_gui_plans/general_plans.py +109 -0
- mx_bluesky/beamlines/i24/serial/write_nexus.py +2 -2
- mx_bluesky/common/device_setup_plans/setup_panda.py +9 -0
- mx_bluesky/common/external_interaction/callbacks/common/plan_reactive_callback.py +2 -2
- mx_bluesky/common/external_interaction/callbacks/xray_centre/ispyb_callback.py +11 -3
- mx_bluesky/common/external_interaction/callbacks/xray_centre/ispyb_mapping.py +1 -1
- mx_bluesky/common/external_interaction/ispyb/exp_eye_store.py +6 -2
- mx_bluesky/common/external_interaction/ispyb/ispyb_store.py +7 -0
- mx_bluesky/common/parameters/constants.py +16 -0
- mx_bluesky/common/parameters/gridscan.py +36 -1
- mx_bluesky/common/plans/do_fgs.py +4 -6
- mx_bluesky/common/plans/read_hardware.py +78 -0
- mx_bluesky/common/utils/context.py +68 -0
- mx_bluesky/common/utils/exceptions.py +2 -1
- mx_bluesky/{hyperion/experiment_plans/common → common}/xrc_result.py +16 -0
- mx_bluesky/definitions.py +4 -0
- mx_bluesky/hyperion/__main__.py +11 -42
- mx_bluesky/hyperion/device_setup_plans/setup_oav.py +5 -5
- mx_bluesky/hyperion/device_setup_plans/setup_panda.py +9 -8
- mx_bluesky/hyperion/device_setup_plans/setup_zebra.py +2 -2
- mx_bluesky/hyperion/device_setup_plans/smargon.py +6 -6
- mx_bluesky/hyperion/device_setup_plans/utils.py +2 -2
- mx_bluesky/hyperion/device_setup_plans/xbpm_feedback.py +14 -4
- mx_bluesky/hyperion/experiment_plans/change_aperture_then_move_plan.py +2 -6
- mx_bluesky/hyperion/experiment_plans/experiment_registry.py +0 -15
- mx_bluesky/hyperion/experiment_plans/flyscan_xray_centre_plan.py +42 -93
- mx_bluesky/hyperion/experiment_plans/grid_detect_then_xray_centre_plan.py +14 -6
- mx_bluesky/hyperion/experiment_plans/load_centre_collect_full_plan.py +26 -21
- mx_bluesky/hyperion/experiment_plans/oav_grid_detection_plan.py +11 -11
- mx_bluesky/hyperion/experiment_plans/oav_snapshot_plan.py +5 -9
- mx_bluesky/hyperion/experiment_plans/optimise_attenuation_plan.py +1 -1
- mx_bluesky/hyperion/experiment_plans/pin_centre_then_xray_centre_plan.py +2 -4
- mx_bluesky/hyperion/experiment_plans/pin_tip_centring_plan.py +10 -10
- mx_bluesky/hyperion/experiment_plans/robot_load_and_change_energy.py +11 -18
- mx_bluesky/hyperion/experiment_plans/robot_load_then_centre_plan.py +2 -4
- mx_bluesky/hyperion/experiment_plans/rotation_scan_plan.py +19 -10
- mx_bluesky/hyperion/experiment_plans/set_energy_plan.py +2 -0
- mx_bluesky/hyperion/external_interaction/agamemnon.py +104 -0
- mx_bluesky/hyperion/external_interaction/callbacks/__main__.py +19 -2
- mx_bluesky/hyperion/external_interaction/callbacks/rotation/ispyb_callback.py +1 -1
- mx_bluesky/hyperion/external_interaction/callbacks/sample_handling/sample_handling_callback.py +14 -9
- mx_bluesky/hyperion/external_interaction/config_server.py +13 -2
- mx_bluesky/hyperion/parameters/cli.py +1 -9
- mx_bluesky/hyperion/parameters/constants.py +6 -1
- mx_bluesky/hyperion/parameters/device_composites.py +49 -0
- mx_bluesky/hyperion/parameters/gridscan.py +5 -3
- mx_bluesky/hyperion/resources/panda/panda-gridscan.yaml +1006 -964
- mx_bluesky/hyperion/utils/__init__.py +1 -0
- mx_bluesky/hyperion/utils/context.py +0 -65
- mx_bluesky/hyperion/utils/validation.py +23 -20
- {mx_bluesky-1.4.4.dist-info → mx_bluesky-1.4.6.dist-info}/METADATA +5 -4
- {mx_bluesky-1.4.4.dist-info → mx_bluesky-1.4.6.dist-info}/RECORD +71 -66
- {mx_bluesky-1.4.4.dist-info → mx_bluesky-1.4.6.dist-info}/WHEEL +1 -1
- {mx_bluesky-1.4.4.dist-info → mx_bluesky-1.4.6.dist-info}/entry_points.txt +1 -0
- mx_bluesky/common/device_setup_plans/read_hardware_for_setup.py +0 -14
- mx_bluesky/hyperion/device_setup_plans/read_hardware_for_setup.py +0 -54
- mx_bluesky/hyperion/external_interaction/callbacks/common/callback_util.py +0 -95
- /mx_bluesky/{hyperion/external_interaction/callbacks/common → beamlines/i24/serial/web_gui_plans}/__init__.py +0 -0
- {mx_bluesky-1.4.4.dist-info → mx_bluesky-1.4.6.dist-info}/LICENSE +0 -0
- {mx_bluesky-1.4.4.dist-info → mx_bluesky-1.4.6.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# placeholder file to start layout
|
|
@@ -1,74 +1,9 @@
|
|
|
1
|
-
import dataclasses
|
|
2
|
-
from typing import Any, ClassVar, Protocol, TypeVar, get_type_hints
|
|
3
|
-
|
|
4
1
|
from blueapi.core import BlueskyContext
|
|
5
|
-
from blueapi.core.bluesky_types import Device
|
|
6
2
|
from dodal.utils import get_beamline_based_on_environment_variable
|
|
7
3
|
|
|
8
4
|
import mx_bluesky.hyperion.experiment_plans as hyperion_plans
|
|
9
5
|
from mx_bluesky.common.utils.log import LOGGER
|
|
10
6
|
|
|
11
|
-
T = TypeVar("T", bound=Device)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
class _IsDataclass(Protocol):
|
|
15
|
-
"""Protocol followed by any dataclass"""
|
|
16
|
-
|
|
17
|
-
__dataclass_fields__: ClassVar[dict]
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
DT = TypeVar("DT", bound=_IsDataclass)
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
def find_device_in_context(
|
|
24
|
-
context: BlueskyContext,
|
|
25
|
-
name: str,
|
|
26
|
-
# Typing in here is wrong (see https://github.com/microsoft/pyright/issues/7228#issuecomment-1934500232)
|
|
27
|
-
# but this whole thing will go away when we do https://github.com/DiamondLightSource/hyperion/issues/868
|
|
28
|
-
expected_type: type[T] = Device, # type: ignore
|
|
29
|
-
) -> T:
|
|
30
|
-
LOGGER.debug(f"Looking for device {name} of type {expected_type} in context")
|
|
31
|
-
|
|
32
|
-
device = context.find_device(name)
|
|
33
|
-
if device is None:
|
|
34
|
-
raise ValueError(
|
|
35
|
-
f"Cannot find device named '{name}' in bluesky context {context.devices}."
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
if not isinstance(device, expected_type):
|
|
39
|
-
raise ValueError(
|
|
40
|
-
f"Found device named '{name}' and expected it to be a '{expected_type}' but it was a '{device.__class__.__name__}'"
|
|
41
|
-
)
|
|
42
|
-
|
|
43
|
-
LOGGER.debug(f"Found matching device {device}")
|
|
44
|
-
return device
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
def device_composite_from_context(context: BlueskyContext, dc: type[DT]) -> DT:
|
|
48
|
-
"""
|
|
49
|
-
Initializes all of the devices referenced in a given dataclass from a provided
|
|
50
|
-
context, checking that the types of devices returned by the context are compatible
|
|
51
|
-
with the type annotations of the dataclass.
|
|
52
|
-
|
|
53
|
-
Note that if the context was not created with `wait_for_connection=True` devices may
|
|
54
|
-
still be unconnected.
|
|
55
|
-
"""
|
|
56
|
-
LOGGER.debug(
|
|
57
|
-
f"Attempting to initialize devices referenced in dataclass {dc} from blueapi context"
|
|
58
|
-
)
|
|
59
|
-
|
|
60
|
-
devices: dict[str, Any] = {}
|
|
61
|
-
dc_type_hints: dict[str, Any] = get_type_hints(dc)
|
|
62
|
-
|
|
63
|
-
for field in dataclasses.fields(dc):
|
|
64
|
-
device = find_device_in_context(
|
|
65
|
-
context, field.name, expected_type=dc_type_hints.get(field.name, Device)
|
|
66
|
-
)
|
|
67
|
-
|
|
68
|
-
devices[field.name] = device
|
|
69
|
-
|
|
70
|
-
return dc(**devices)
|
|
71
|
-
|
|
72
7
|
|
|
73
8
|
def setup_context(wait_for_connection: bool = True) -> BlueskyContext:
|
|
74
9
|
context = BlueskyContext()
|
|
@@ -11,8 +11,8 @@ from dodal.beamlines import i03
|
|
|
11
11
|
from dodal.devices.oav.oav_parameters import OAVConfig
|
|
12
12
|
from ophyd_async.testing import set_mock_value
|
|
13
13
|
|
|
14
|
-
from mx_bluesky.
|
|
15
|
-
|
|
14
|
+
from mx_bluesky.common.plans.read_hardware import (
|
|
15
|
+
standard_read_hardware_during_collection,
|
|
16
16
|
)
|
|
17
17
|
from mx_bluesky.hyperion.experiment_plans.rotation_scan_plan import (
|
|
18
18
|
RotationScanComposite,
|
|
@@ -67,7 +67,7 @@ def fake_rotation_scan(
|
|
|
67
67
|
}
|
|
68
68
|
)
|
|
69
69
|
def plan():
|
|
70
|
-
yield from
|
|
70
|
+
yield from standard_read_hardware_during_collection(
|
|
71
71
|
rotation_devices.aperture_scatterguard,
|
|
72
72
|
rotation_devices.attenuator,
|
|
73
73
|
rotation_devices.flux,
|
|
@@ -79,27 +79,30 @@ def fake_rotation_scan(
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
def fake_create_rotation_devices():
|
|
82
|
-
beamstop = i03.beamstop(
|
|
83
|
-
eiger = i03.eiger(
|
|
84
|
-
smargon = i03.smargon(
|
|
85
|
-
zebra = i03.zebra(
|
|
86
|
-
detector_motion = i03.detector_motion(
|
|
87
|
-
backlight = i03.backlight(
|
|
88
|
-
attenuator = i03.attenuator(
|
|
89
|
-
flux = i03.flux(
|
|
90
|
-
undulator = i03.undulator(
|
|
91
|
-
aperture_scatterguard = i03.aperture_scatterguard(
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
82
|
+
beamstop = i03.beamstop(connect_immediately=True, mock=True)
|
|
83
|
+
eiger = i03.eiger(connect_immediately=True, mock=True)
|
|
84
|
+
smargon = i03.smargon(connect_immediately=True, mock=True)
|
|
85
|
+
zebra = i03.zebra(connect_immediately=True, mock=True)
|
|
86
|
+
detector_motion = i03.detector_motion(connect_immediately=True, mock=True)
|
|
87
|
+
backlight = i03.backlight(mock=True)
|
|
88
|
+
attenuator = i03.attenuator(connect_immediately=True, mock=True)
|
|
89
|
+
flux = i03.flux(connect_immediately=True, mock=True)
|
|
90
|
+
undulator = i03.undulator(connect_immediately=True, mock=True)
|
|
91
|
+
aperture_scatterguard = i03.aperture_scatterguard(
|
|
92
|
+
connect_immediately=True, mock=True
|
|
93
|
+
)
|
|
94
|
+
synchrotron = i03.synchrotron(connect_immediately=True, mock=True)
|
|
95
|
+
s4_slit_gaps = i03.s4_slit_gaps(connect_immediately=True, mock=True)
|
|
96
|
+
dcm = i03.dcm(connect_immediately=True, mock=True)
|
|
97
|
+
robot = i03.robot(connect_immediately=True, mock=True)
|
|
96
98
|
oav = i03.oav(
|
|
97
|
-
|
|
99
|
+
connect_immediately=True,
|
|
100
|
+
mock=True,
|
|
98
101
|
params=OAVConfig(
|
|
99
102
|
zoom_params_file=ZOOM_LEVELS_XML, display_config_file=DISPLAY_CONFIGURATION
|
|
100
103
|
),
|
|
101
104
|
)
|
|
102
|
-
xbpm_feedback = i03.xbpm_feedback(
|
|
105
|
+
xbpm_feedback = i03.xbpm_feedback(connect_immediately=True, mock=True)
|
|
103
106
|
|
|
104
107
|
set_mock_value(smargon.omega.max_velocity, 131)
|
|
105
108
|
set_mock_value(dcm.energy_in_kev.user_readback, 12700)
|
|
@@ -120,7 +123,7 @@ def fake_create_rotation_devices():
|
|
|
120
123
|
zebra=zebra,
|
|
121
124
|
robot=robot,
|
|
122
125
|
oav=oav,
|
|
123
|
-
sample_shutter=i03.sample_shutter(
|
|
126
|
+
sample_shutter=i03.sample_shutter(connect_immediately=True, mock=True),
|
|
124
127
|
xbpm_feedback=xbpm_feedback,
|
|
125
128
|
)
|
|
126
129
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: mx-bluesky
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.6
|
|
4
4
|
Summary: Bluesky tools for MX Beamlines at DLS
|
|
5
5
|
Author-email: Dominic Oram <dominic.oram@diamond.ac.uk>
|
|
6
6
|
License: Apache License
|
|
@@ -215,6 +215,7 @@ Description-Content-Type: text/x-rst
|
|
|
215
215
|
License-File: LICENSE
|
|
216
216
|
Requires-Dist: annotated_types
|
|
217
217
|
Requires-Dist: caproto
|
|
218
|
+
Requires-Dist: confluent-kafka==2.8.0
|
|
218
219
|
Requires-Dist: fastapi[all]
|
|
219
220
|
Requires-Dist: flask-restful
|
|
220
221
|
Requires-Dist: ispyb
|
|
@@ -237,9 +238,9 @@ Requires-Dist: matplotlib
|
|
|
237
238
|
Requires-Dist: blueapi>=0.5.0
|
|
238
239
|
Requires-Dist: daq-config-server>=0.1.1
|
|
239
240
|
Requires-Dist: ophyd==1.9.0
|
|
240
|
-
Requires-Dist: ophyd-async>=0.
|
|
241
|
+
Requires-Dist: ophyd-async>=0.9.0a2
|
|
241
242
|
Requires-Dist: bluesky>=1.13
|
|
242
|
-
Requires-Dist: dls-dodal==1.
|
|
243
|
+
Requires-Dist: dls-dodal==1.41.0
|
|
243
244
|
Provides-Extra: dev
|
|
244
245
|
Requires-Dist: black; extra == "dev"
|
|
245
246
|
Requires-Dist: build; extra == "dev"
|
|
@@ -253,7 +254,7 @@ Requires-Dist: pipdeptree; extra == "dev"
|
|
|
253
254
|
Requires-Dist: plantweb; extra == "dev"
|
|
254
255
|
Requires-Dist: pre-commit; extra == "dev"
|
|
255
256
|
Requires-Dist: pydata-sphinx-theme>=0.12; extra == "dev"
|
|
256
|
-
Requires-Dist: pyright; extra == "dev"
|
|
257
|
+
Requires-Dist: pyright==1.1.394; extra == "dev"
|
|
257
258
|
Requires-Dist: pytest-asyncio; extra == "dev"
|
|
258
259
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
259
260
|
Requires-Dist: pytest-random-order; extra == "dev"
|
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
mx_bluesky/__init__.py,sha256=Ksms_WJF8LTkbm38gEpm1jBpGqcQ8NGvmb2ZJlOE1j8,198
|
|
2
2
|
mx_bluesky/__main__.py,sha256=RVqPnxDisFMIn_aoEi0drlThNHgKTJULnSrotouIKI0,480
|
|
3
|
-
mx_bluesky/_version.py,sha256=
|
|
3
|
+
mx_bluesky/_version.py,sha256=X_hmmrOxuP6swjoZFdUO_TT0Oqty4TKqejPSCRgbntM,511
|
|
4
|
+
mx_bluesky/definitions.py,sha256=ULpEYAUzdQiEbBoTgYTMxfUf3DDDjhYtvDxofs7Qxqw,168
|
|
4
5
|
mx_bluesky/jupyter_example.ipynb,sha256=wpwvPrBvwtRMS5AIFk8F54cIlUoD0o4ji8tKK5cZHA4,1672
|
|
5
6
|
mx_bluesky/beamlines/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
7
|
mx_bluesky/beamlines/i04/__init__.py,sha256=jZjAMN5_oOEjQoR3iTrnMFW3ElxlHhQ7pEQZIv21Y4I,129
|
|
7
|
-
mx_bluesky/beamlines/i04/redis_to_murko_forwarder.py,sha256=
|
|
8
|
-
mx_bluesky/beamlines/i04/thawing_plan.py,sha256=
|
|
8
|
+
mx_bluesky/beamlines/i04/redis_to_murko_forwarder.py,sha256=gcSHxYbmUO9DEVw86jfSR7eFpgYR_XgBN9hwP5_N6y0,6130
|
|
9
|
+
mx_bluesky/beamlines/i04/thawing_plan.py,sha256=1khKSUcY67_kqFF44rYxjv2KIfwrrj71GEzZSak-Jqo,4771
|
|
9
10
|
mx_bluesky/beamlines/i04/callbacks/murko_callback.py,sha256=ZIwkY6gdcmIE-aMBvehN8DVcjGRtb9wwzpgHJNMZ39Q,2125
|
|
10
11
|
mx_bluesky/beamlines/i24/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
mx_bluesky/beamlines/i24/serial/__init__.py,sha256=
|
|
12
|
+
mx_bluesky/beamlines/i24/serial/__init__.py,sha256=XnCeh2GahduKp7d9aFgNjm_SMgh6F0E5M2tk0bNFivY,1423
|
|
12
13
|
mx_bluesky/beamlines/i24/serial/blueapi_config.yaml,sha256=gwOfjzZMbcvpVH71CCyHaxr8hgPYCJIWWWfg1zErtmM,245
|
|
13
|
-
mx_bluesky/beamlines/i24/serial/dcid.py,sha256=
|
|
14
|
-
mx_bluesky/beamlines/i24/serial/log.py,sha256=
|
|
14
|
+
mx_bluesky/beamlines/i24/serial/dcid.py,sha256=Y2bL0AGPvBqQ4gbqbxjCMG2UJqqIY1B7YAW0C_UxS7Q,14530
|
|
15
|
+
mx_bluesky/beamlines/i24/serial/log.py,sha256=o9xydsKeYdj_sSE56lY4el3FkKjC7cX2VykByiP5UUE,4798
|
|
15
16
|
mx_bluesky/beamlines/i24/serial/run_extruder.sh,sha256=FXYsqdTpVgxB1-QrY4Tg5pl5Ex7PgUoXnuAcr9iDZTE,1078
|
|
16
17
|
mx_bluesky/beamlines/i24/serial/run_fixed_target.sh,sha256=ZzxcVFoitBRvcqsJaBxjtepgkG-ZCGBW6X9xuV_Y478,1229
|
|
17
18
|
mx_bluesky/beamlines/i24/serial/run_serial.py,sha256=Zrudosavh2HnnBXd2CLtOPs3lyQFxaN8YyO_sradRGs,1511
|
|
18
19
|
mx_bluesky/beamlines/i24/serial/run_ssx.sh,sha256=0Ir5iQQ-xSN_5teHtxzht6G-mJ08mE1gxBS32vkh1eM,714
|
|
19
20
|
mx_bluesky/beamlines/i24/serial/set_visit_directory.sh,sha256=WuN5PUBxTofzuESk1-3gWtTcbPjOx-26JaQSVCsZhZs,1660
|
|
20
21
|
mx_bluesky/beamlines/i24/serial/start_blueapi.sh,sha256=4iBzQljTLXQiVIF4UO7drc9qUkP7KSRC6Mjh8hcGxpI,608
|
|
21
|
-
mx_bluesky/beamlines/i24/serial/write_nexus.py,sha256=
|
|
22
|
+
mx_bluesky/beamlines/i24/serial/write_nexus.py,sha256=oCaaPHoEsZ4OhnQIMl4egcyxE_yrGJJBJXVCxws0P9g,3977
|
|
22
23
|
mx_bluesky/beamlines/i24/serial/extruder/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
23
|
-
mx_bluesky/beamlines/i24/serial/extruder/i24ssx_Extruder_Collect_py3v2.py,sha256=
|
|
24
|
+
mx_bluesky/beamlines/i24/serial/extruder/i24ssx_Extruder_Collect_py3v2.py,sha256=hEPr1rVltE4AtS92tGrkxAC3PKgI_56q-KRMOWx17Ng,18763
|
|
24
25
|
mx_bluesky/beamlines/i24/serial/extruder/EX-gui-edm/DetStage.edl,sha256=9L1CgEdxZD4N3QvM5HLlAlJTcxpzd4ahB2nVJ9jHujw,2013
|
|
25
26
|
mx_bluesky/beamlines/i24/serial/extruder/EX-gui-edm/DiamondExtruder-I24-py3v1.edl,sha256=JaS-PvAHEOqHRuH3LbdpOk2T-TlO8Enq_uwzokQXzZU,31349
|
|
26
27
|
mx_bluesky/beamlines/i24/serial/extruder/EX-gui-edm/microdrop_alignment.edl,sha256=K79vmGAcf9qVEQLXTgr0g4bZDWaJ7nFoK4e0Ex7qAwM,14690
|
|
27
28
|
mx_bluesky/beamlines/i24/serial/fixed_target/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
29
|
mx_bluesky/beamlines/i24/serial/fixed_target/ft_utils.py,sha256=puO1vg0x-TPgv8FbEFg73ohJqbwDpcG50_2cLUTa2FA,1210
|
|
29
|
-
mx_bluesky/beamlines/i24/serial/fixed_target/i24ssx_Chip_Collect_py3v1.py,sha256=
|
|
30
|
-
mx_bluesky/beamlines/i24/serial/fixed_target/i24ssx_Chip_Manager_py3v1.py,sha256=
|
|
30
|
+
mx_bluesky/beamlines/i24/serial/fixed_target/i24ssx_Chip_Collect_py3v1.py,sha256=YRE7iO4cbzXLW5gTyDaLsdFMCVbhQCAdx7uJdw7ubXs,26273
|
|
31
|
+
mx_bluesky/beamlines/i24/serial/fixed_target/i24ssx_Chip_Manager_py3v1.py,sha256=TYdr4XWbLNsmouFmDPhhjEvSXl-fnRULyP52IcDqZlw,32846
|
|
31
32
|
mx_bluesky/beamlines/i24/serial/fixed_target/i24ssx_Chip_StartUp_py3v1.py,sha256=Vokr_Gl_lpqcUwG18C2h8TYMmyTx1HmUSDd9zgR9-7M,3275
|
|
32
|
-
mx_bluesky/beamlines/i24/serial/fixed_target/i24ssx_moveonclick.py,sha256=
|
|
33
|
+
mx_bluesky/beamlines/i24/serial/fixed_target/i24ssx_moveonclick.py,sha256=IngONbndrLjCmnvMJwHSQcbDul05wFFgI9L4FWkgwLE,6396
|
|
33
34
|
mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/CustomChip_py3v1.edl,sha256=H9BVU1S3oy8tAVHtKvJvp7YTHA-4X-jtOtiu3jJ7of4,10348
|
|
34
35
|
mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/DetStage.edl,sha256=WBji5SaRQ5e0KFRgrPuv6IgaFxkal1jh7MZW8SqQN88,2016
|
|
35
36
|
mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/DiamondChipI24-py3v1.edl,sha256=-O_kRA5-m741Mja8OXQlGJWrRu9uBUkTvJ_uqUBjuFY,56616
|
|
@@ -43,7 +44,7 @@ mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/pumpprobe-py3v1.edl,sha2
|
|
|
43
44
|
mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/short1-laser.png,sha256=wDNuKCa_8hUPy4W01vdIrfdZtCyQKT8qVS5AS6kOTmo,9740
|
|
44
45
|
mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/short2-laser.png,sha256=MrdiCFX7j-ODkfSdzc4NQ_8hj2Gs8i9gQqWyNXvdM5s,10189
|
|
45
46
|
mx_bluesky/beamlines/i24/serial/parameters/__init__.py,sha256=fdXGnTxNRyWV1cqVv8lQmwhUpUWDoz_VIRlo6KGwvS4,615
|
|
46
|
-
mx_bluesky/beamlines/i24/serial/parameters/constants.py,sha256=
|
|
47
|
+
mx_bluesky/beamlines/i24/serial/parameters/constants.py,sha256=uJE3K7p1s8rXrgA0vH2JKrTaitH5ZDqLoSp_0ZmSCB4,1815
|
|
47
48
|
mx_bluesky/beamlines/i24/serial/parameters/experiment_parameters.py,sha256=n6nRgycKMp5GuxwNoU30CP9enW7vTtTKHKIcIOH9ABY,4879
|
|
48
49
|
mx_bluesky/beamlines/i24/serial/parameters/utils.py,sha256=VcCEBjC8WSrf85Q20A6dwnsy4IxvjcB4JSlbYKz_CVM,2673
|
|
49
50
|
mx_bluesky/beamlines/i24/serial/parameters/fixed_target/cs/cs_maker.json,sha256=xT3y7SSWjVTAJ58dzwNnEgBdn10A6T8umR18n5xt508,142
|
|
@@ -54,11 +55,14 @@ mx_bluesky/beamlines/i24/serial/setup_beamline/__init__.py,sha256=UhBdMcPdJMzwV0
|
|
|
54
55
|
mx_bluesky/beamlines/i24/serial/setup_beamline/ca.py,sha256=H2gPmsLheYReFlGPFa5zzWbnyqdWbCmgKiAwcpVoYfk,1516
|
|
55
56
|
mx_bluesky/beamlines/i24/serial/setup_beamline/pv.py,sha256=aYgIKeBck2wliQyLq-uukuPiyN7WTkNutLAM6ys3WuM,15623
|
|
56
57
|
mx_bluesky/beamlines/i24/serial/setup_beamline/pv_abstract.py,sha256=WbD5ghgTG0F3-MR0XYm4nkiKYswVP5a2COYx_k_cngE,1806
|
|
57
|
-
mx_bluesky/beamlines/i24/serial/setup_beamline/setup_beamline.py,sha256=
|
|
58
|
-
mx_bluesky/beamlines/i24/serial/setup_beamline/setup_detector.py,sha256=
|
|
59
|
-
mx_bluesky/beamlines/i24/serial/setup_beamline/setup_zebra_plans.py,sha256=
|
|
58
|
+
mx_bluesky/beamlines/i24/serial/setup_beamline/setup_beamline.py,sha256=UnfYQwCUGo6rCmJphZ28I8SK8WoVEUFEaTyshGwufeI,20573
|
|
59
|
+
mx_bluesky/beamlines/i24/serial/setup_beamline/setup_detector.py,sha256=E8G2F9rvmWJpMEApAmOMOITcIN4JSzmplnLZSXtRokk,3171
|
|
60
|
+
mx_bluesky/beamlines/i24/serial/setup_beamline/setup_zebra_plans.py,sha256=BkJ3ZrE7g-KnQQHbLhtpDtZYD3vOWoL5zSc4ZX7vBLE,17938
|
|
61
|
+
mx_bluesky/beamlines/i24/serial/web_gui_plans/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
62
|
+
mx_bluesky/beamlines/i24/serial/web_gui_plans/general_plans.py,sha256=R1VwqqhPAfG0C8DtIu1ymPpWqJBxYdoWSc0lAdqi1Tk,3538
|
|
60
63
|
mx_bluesky/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
61
|
-
mx_bluesky/common/
|
|
64
|
+
mx_bluesky/common/xrc_result.py,sha256=J1uB9Bujz_Sq_MwvYdWOZL3c6kX09TSaZW3eetRXBpw,2351
|
|
65
|
+
mx_bluesky/common/device_setup_plans/setup_panda.py,sha256=OF-ZygZyAyQEUdrAWiIxWZ6QhAsVx4Mm9ngRYB1mzKI,433
|
|
62
66
|
mx_bluesky/common/external_interaction/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
63
67
|
mx_bluesky/common/external_interaction/config_server.py,sha256=EmvLfOkvoJlnKa0sffAKNICkY26YsQQqY9sYHKmOGzw,2441
|
|
64
68
|
mx_bluesky/common/external_interaction/test_config_server.py,sha256=4wdYsOpXJfc3yNBZvdcjZGSllOHzKBTB8oYFjjSOufU,960
|
|
@@ -70,86 +74,87 @@ mx_bluesky/common/external_interaction/callbacks/common/ispyb_callback_base.py,s
|
|
|
70
74
|
mx_bluesky/common/external_interaction/callbacks/common/ispyb_mapping.py,sha256=n4HUDvJyBmX4pmc0JAFI_pSxYbOL6QFKv2NxH3WF_Ac,2576
|
|
71
75
|
mx_bluesky/common/external_interaction/callbacks/common/log_uid_tag_callback.py,sha256=pfZxQfS9SnXep3F2YAPptDX5bjjWvbXtgy5fINfsoTU,626
|
|
72
76
|
mx_bluesky/common/external_interaction/callbacks/common/logging_callback.py,sha256=NHb8Gp86TAk6PRTV3inWrlW-Lj96LmnZda7ZGewlrFA,712
|
|
73
|
-
mx_bluesky/common/external_interaction/callbacks/common/plan_reactive_callback.py,sha256=
|
|
77
|
+
mx_bluesky/common/external_interaction/callbacks/common/plan_reactive_callback.py,sha256=3TYQXibOWIKnvM2PMTIjE2IOoX2Jkt9b2KpDCytQtYE,4088
|
|
74
78
|
mx_bluesky/common/external_interaction/callbacks/common/zocalo_callback.py,sha256=RubHJ6wjImsweISHZCG1rI2xcN-49HxmVcwDIaLR6Lc,3728
|
|
75
79
|
mx_bluesky/common/external_interaction/callbacks/xray_centre/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
76
|
-
mx_bluesky/common/external_interaction/callbacks/xray_centre/ispyb_callback.py,sha256=
|
|
77
|
-
mx_bluesky/common/external_interaction/callbacks/xray_centre/ispyb_mapping.py,sha256=
|
|
80
|
+
mx_bluesky/common/external_interaction/callbacks/xray_centre/ispyb_callback.py,sha256=jm41IQVU08RLjl0c1y9Vm3NAEXYJfi0hg4m_G7bn3tQ,12126
|
|
81
|
+
mx_bluesky/common/external_interaction/callbacks/xray_centre/ispyb_mapping.py,sha256=fOYJkqaXEfCdLGQwGhTrzfGOj6Ed3t2wcRgv68DOOHc,1790
|
|
78
82
|
mx_bluesky/common/external_interaction/callbacks/xray_centre/nexus_callback.py,sha256=g9ovYSnb6-bB4RqG1KKuzpAArK-d80DPYTKZ6rDzQOQ,4687
|
|
79
83
|
mx_bluesky/common/external_interaction/ispyb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
80
84
|
mx_bluesky/common/external_interaction/ispyb/data_model.py,sha256=WURy8W0L4VAULzz39lTW6kYpFDLDiGU2aYO28dq-4II,2706
|
|
81
|
-
mx_bluesky/common/external_interaction/ispyb/exp_eye_store.py,sha256=
|
|
82
|
-
mx_bluesky/common/external_interaction/ispyb/ispyb_store.py,sha256=
|
|
85
|
+
mx_bluesky/common/external_interaction/ispyb/exp_eye_store.py,sha256=Y3nZV5NZ-XnYThettFMhZin4dQb5jAZfT2mGmtLlv74,6076
|
|
86
|
+
mx_bluesky/common/external_interaction/ispyb/ispyb_store.py,sha256=QVgprU9hfBfGIbxPxIBAdzmigLT9S0CtnT4IMf-obyo,10631
|
|
83
87
|
mx_bluesky/common/external_interaction/ispyb/ispyb_utils.py,sha256=Kv0JQVaT8z9Qzt6L1NJEx0U7ZYD6NeyBGF1_wGcI1Dc,728
|
|
84
88
|
mx_bluesky/common/external_interaction/nexus/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
85
89
|
mx_bluesky/common/external_interaction/nexus/nexus_utils.py,sha256=CCKQeDBEmXZvCwBy1-o5hQ6CDdwsnuAwlIK_uq0I26Y,5587
|
|
86
90
|
mx_bluesky/common/external_interaction/nexus/write_nexus.py,sha256=tIz9PFFSiaUs1olbMtLGHddTLj132rEuFSWBK9rOM6Y,4087
|
|
87
91
|
mx_bluesky/common/parameters/components.py,sha256=Ru76EFT2wG4oPeJge6lVwq1vCHYd7T0EFuqp13EoJk4,7299
|
|
88
|
-
mx_bluesky/common/parameters/constants.py,sha256=
|
|
89
|
-
mx_bluesky/common/parameters/gridscan.py,sha256=
|
|
92
|
+
mx_bluesky/common/parameters/constants.py,sha256=JI6W-5GusvU8vqhutw2sJFiQymOajx-1sU6I1GSDlTc,4622
|
|
93
|
+
mx_bluesky/common/parameters/gridscan.py,sha256=rkts8vWuvfzqJaql-Rz8gWQPr1EMPUN5cGYfzQwzpo0,6991
|
|
90
94
|
mx_bluesky/common/plans/__init__.py,sha256=FMA-4VN1TJCPcyURKF0qPIQ8uo8YBbtHPRdJokVF4MA,129
|
|
91
|
-
mx_bluesky/common/plans/do_fgs.py,sha256=
|
|
92
|
-
mx_bluesky/common/
|
|
95
|
+
mx_bluesky/common/plans/do_fgs.py,sha256=6aFWvQAuDgBfySzKgt567U_aoDYhAxfUhEDpn3wMjSQ,4775
|
|
96
|
+
mx_bluesky/common/plans/read_hardware.py,sha256=s3Mz11wQOnzO4i4BvV6yWzpDvtQtjZnY-clENH7CVQU,2332
|
|
97
|
+
mx_bluesky/common/utils/context.py,sha256=Fe_YSNv3ZEIZvpdWs-9UqiG6-xEEdCpK6oMYYdCSYT8,2198
|
|
98
|
+
mx_bluesky/common/utils/exceptions.py,sha256=aB_26oowu7gvoaWWKpiBEllrvtGG-Hd6HLsE86mQgKI,2153
|
|
93
99
|
mx_bluesky/common/utils/log.py,sha256=ZgFZu6zSutGD5A0FDp_n9M0rJ6gU1FuZCmD-r5suchY,3913
|
|
94
100
|
mx_bluesky/common/utils/tracing.py,sha256=stnBZIvPuKiAm2wVc8lFr3ns7V5C52rUigULi9V-IFs,1171
|
|
95
101
|
mx_bluesky/common/utils/utils.py,sha256=q2uCaK1E8zLVk1BFmj7qlTnQf3JRKjCjyadIVnL1-4M,1180
|
|
96
102
|
mx_bluesky/hyperion/__init__.py,sha256=f4E8wInL1Ll4eeFtAiyKmipOBTPlUtKmVK-m_LOQG4M,35
|
|
97
|
-
mx_bluesky/hyperion/__main__.py,sha256
|
|
103
|
+
mx_bluesky/hyperion/__main__.py,sha256=jsHCj6dyrVa2TyGQNXzw9ylanzQgFlDeWMnnKIX2lPE,12321
|
|
98
104
|
mx_bluesky/hyperion/device_setup_plans/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
99
105
|
mx_bluesky/hyperion/device_setup_plans/check_beamstop.py,sha256=PG2AXIB_z7U0glz9MTHkapaokMgrHyYSoKYSIGaRgLE,844
|
|
100
106
|
mx_bluesky/hyperion/device_setup_plans/dcm_pitch_roll_mirror_adjuster.py,sha256=68L4Fd8nvvH_VeQJfOYK_3WLrlKRt09TRsaA9T2uqU0,4703
|
|
101
107
|
mx_bluesky/hyperion/device_setup_plans/manipulate_sample.py,sha256=fuNRH8slknuZ0iNVv2htiuDozc9LzvxUrWuwYQTtLt8,3293
|
|
102
108
|
mx_bluesky/hyperion/device_setup_plans/position_detector.py,sha256=S49ml0KNZ6wXPQqOxNJ2whKTCyRTcKdBXBhyeEyFDQQ,635
|
|
103
|
-
mx_bluesky/hyperion/device_setup_plans/
|
|
104
|
-
mx_bluesky/hyperion/device_setup_plans/
|
|
105
|
-
mx_bluesky/hyperion/device_setup_plans/
|
|
106
|
-
mx_bluesky/hyperion/device_setup_plans/
|
|
107
|
-
mx_bluesky/hyperion/device_setup_plans/
|
|
108
|
-
mx_bluesky/hyperion/device_setup_plans/
|
|
109
|
-
mx_bluesky/hyperion/device_setup_plans/xbpm_feedback.py,sha256=JgOqnPnG-zXrek1w_M_oEQPc1IET3nHeeeVDZhPXIAk,4058
|
|
109
|
+
mx_bluesky/hyperion/device_setup_plans/setup_oav.py,sha256=jVbDCSKDXxJXPfr-dR6dQgKLPmh7pzewj8gH9y-psy8,2564
|
|
110
|
+
mx_bluesky/hyperion/device_setup_plans/setup_panda.py,sha256=GPa42uf4P8B41s_K2mjZfOT0SdaNTjABsoQK3wrz5pc,8383
|
|
111
|
+
mx_bluesky/hyperion/device_setup_plans/setup_zebra.py,sha256=q4KRAufuUi-G6xGKYLhmxhLr8EcTu08HMBca5OpigxM,10177
|
|
112
|
+
mx_bluesky/hyperion/device_setup_plans/smargon.py,sha256=Zzej-9uBVTzZuB4lv9QRiHeJKq_3-lnXOhCqZZIZV-o,789
|
|
113
|
+
mx_bluesky/hyperion/device_setup_plans/utils.py,sha256=Hdw_tocY6scVaVc2jlsNG-W4vS0LCbEKF8g5kDRuAeQ,2216
|
|
114
|
+
mx_bluesky/hyperion/device_setup_plans/xbpm_feedback.py,sha256=iDK7g4MxYkEH43ITh0oSymTMAb1GwEC7QJDcdkNhTXs,4287
|
|
110
115
|
mx_bluesky/hyperion/experiment_plans/__init__.py,sha256=3ldTMxgz4yKHJH9iF3nw7uueyX2zQ5Z84V0dsCzW5us,1081
|
|
111
|
-
mx_bluesky/hyperion/experiment_plans/change_aperture_then_move_plan.py,sha256=
|
|
112
|
-
mx_bluesky/hyperion/experiment_plans/experiment_registry.py,sha256=
|
|
113
|
-
mx_bluesky/hyperion/experiment_plans/flyscan_xray_centre_plan.py,sha256=
|
|
114
|
-
mx_bluesky/hyperion/experiment_plans/grid_detect_then_xray_centre_plan.py,sha256=
|
|
115
|
-
mx_bluesky/hyperion/experiment_plans/load_centre_collect_full_plan.py,sha256=
|
|
116
|
-
mx_bluesky/hyperion/experiment_plans/oav_grid_detection_plan.py,sha256=
|
|
117
|
-
mx_bluesky/hyperion/experiment_plans/oav_snapshot_plan.py,sha256=
|
|
118
|
-
mx_bluesky/hyperion/experiment_plans/optimise_attenuation_plan.py,sha256=
|
|
119
|
-
mx_bluesky/hyperion/experiment_plans/pin_centre_then_xray_centre_plan.py,sha256=
|
|
120
|
-
mx_bluesky/hyperion/experiment_plans/pin_tip_centring_plan.py,sha256=
|
|
121
|
-
mx_bluesky/hyperion/experiment_plans/robot_load_and_change_energy.py,sha256=
|
|
122
|
-
mx_bluesky/hyperion/experiment_plans/robot_load_then_centre_plan.py,sha256=
|
|
123
|
-
mx_bluesky/hyperion/experiment_plans/rotation_scan_plan.py,sha256=
|
|
124
|
-
mx_bluesky/hyperion/experiment_plans/set_energy_plan.py,sha256=
|
|
125
|
-
mx_bluesky/hyperion/experiment_plans/common/xrc_result.py,sha256=dZRv4chwnLvg9Z96hFHwcPO-h0L3OgoganYLQptGHoI,1806
|
|
116
|
+
mx_bluesky/hyperion/experiment_plans/change_aperture_then_move_plan.py,sha256=umlxNEVRh3iosiPiWe7mWgfOjy9s5DyqoY_uItHLxEw,3531
|
|
117
|
+
mx_bluesky/hyperion/experiment_plans/experiment_registry.py,sha256=25uwWsMnJrwKYPgbAQpJ119lmCK_GdbYHcsf_7LSdR8,2376
|
|
118
|
+
mx_bluesky/hyperion/experiment_plans/flyscan_xray_centre_plan.py,sha256=h6HFfFAxNgWzc-cH2oax_LqWHF7DpLmmx8La0qYK1bA,17213
|
|
119
|
+
mx_bluesky/hyperion/experiment_plans/grid_detect_then_xray_centre_plan.py,sha256=MuYjeY0JVK6lE4w0b45tJthVi9_AkQDWFB0XfEu84Ps,8524
|
|
120
|
+
mx_bluesky/hyperion/experiment_plans/load_centre_collect_full_plan.py,sha256=6ya0mLSRdrShAW-0FzzSHPbaC6SihFAygfE5NAhCFF4,4540
|
|
121
|
+
mx_bluesky/hyperion/experiment_plans/oav_grid_detection_plan.py,sha256=PRwV04KuvefTm4mV4iE-hB3lLb5LAmJshYKfMnLE-k0,6950
|
|
122
|
+
mx_bluesky/hyperion/experiment_plans/oav_snapshot_plan.py,sha256=BT6xrYAEqyqas0ommGAKBluzOxtIFhJuuSd44X-ar-Q,2751
|
|
123
|
+
mx_bluesky/hyperion/experiment_plans/optimise_attenuation_plan.py,sha256=5ZAH17F5T1YyVgA2ML0NEf4ufrD1G0jPRU0_5pINdTg,16195
|
|
124
|
+
mx_bluesky/hyperion/experiment_plans/pin_centre_then_xray_centre_plan.py,sha256=MT1uuxF6g4BGrdKV3MAYO91VLaiBP7VMGdYtx1wyaJA,5006
|
|
125
|
+
mx_bluesky/hyperion/experiment_plans/pin_tip_centring_plan.py,sha256=XjgnSu9RM2UGpyJ4Nepg-Xg5qHvcBAgSFRtWMPSpRRw,6136
|
|
126
|
+
mx_bluesky/hyperion/experiment_plans/robot_load_and_change_energy.py,sha256=vHAm3AdDaTNeDZ3zc-z6pP1bYXl7c5WImsTI5hutofQ,7917
|
|
127
|
+
mx_bluesky/hyperion/experiment_plans/robot_load_then_centre_plan.py,sha256=j2UrQQhTUMDNlXX3aJ98GCDJ0bL1BbGw8g_JnxPW0jY,7743
|
|
128
|
+
mx_bluesky/hyperion/experiment_plans/rotation_scan_plan.py,sha256=WUlLuob8zTGjXScahufrOFEYmLYSozL0TmhiQlGjqQM,16971
|
|
129
|
+
mx_bluesky/hyperion/experiment_plans/set_energy_plan.py,sha256=D-4p4eMK_jGqAvAZICMkhyieBn7YIZTQZLg_7of9gwc,1938
|
|
126
130
|
mx_bluesky/hyperion/external_interaction/__init__.py,sha256=95DwXDmKsx36RgAL-AtLZl2LQoLPKbzeYdlkkP_4Coc,559
|
|
127
|
-
mx_bluesky/hyperion/external_interaction/
|
|
131
|
+
mx_bluesky/hyperion/external_interaction/agamemnon.py,sha256=f8t23jKpMbhvwnjbonyKh2IoJlEYEYPzHcLmMwwimQs,4208
|
|
132
|
+
mx_bluesky/hyperion/external_interaction/config_server.py,sha256=ZI9QCyWLPKzV3stEpXrg7T2IyRb8Y3dd6LWI30tYvqw,1825
|
|
128
133
|
mx_bluesky/hyperion/external_interaction/callbacks/__init__.py,sha256=1XHaxDljMveu_DYIlk7n963gHffyC6r4C_RhF6HA-N8,283
|
|
129
|
-
mx_bluesky/hyperion/external_interaction/callbacks/__main__.py,sha256=
|
|
130
|
-
mx_bluesky/hyperion/external_interaction/callbacks/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
131
|
-
mx_bluesky/hyperion/external_interaction/callbacks/common/callback_util.py,sha256=H9kfcmhN7_hayL6LR1SXzqljLmB2P2KXF0XkBOAcNlk,3477
|
|
134
|
+
mx_bluesky/hyperion/external_interaction/callbacks/__main__.py,sha256=6u-jcwGbZmPY994iu30mnnpoVUMN-fE0CRxsgxhdceI,5849
|
|
132
135
|
mx_bluesky/hyperion/external_interaction/callbacks/robot_load/ispyb_callback.py,sha256=7xSvCd95tXjvmsbFLecI1hEwJj_rm8yGuJJ1Pmg-RKU,4142
|
|
133
136
|
mx_bluesky/hyperion/external_interaction/callbacks/rotation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
134
|
-
mx_bluesky/hyperion/external_interaction/callbacks/rotation/ispyb_callback.py,sha256=
|
|
137
|
+
mx_bluesky/hyperion/external_interaction/callbacks/rotation/ispyb_callback.py,sha256=eFKpDEJaH6zluhNZZkrWOW0BRIjj-Bs2xiGbun7pnSs,7442
|
|
135
138
|
mx_bluesky/hyperion/external_interaction/callbacks/rotation/ispyb_mapping.py,sha256=yz2Z_P6qH2DGlSXCi36E3Xwv7mVVcvYzqQc0NqwW4DI,716
|
|
136
139
|
mx_bluesky/hyperion/external_interaction/callbacks/rotation/nexus_callback.py,sha256=w86HvDMznS1wBH3mLYJMe2TgX8SghTYR4G6dajho3Pk,4724
|
|
137
140
|
mx_bluesky/hyperion/external_interaction/callbacks/sample_handling/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
138
|
-
mx_bluesky/hyperion/external_interaction/callbacks/sample_handling/sample_handling_callback.py,sha256=
|
|
141
|
+
mx_bluesky/hyperion/external_interaction/callbacks/sample_handling/sample_handling_callback.py,sha256=RDjcQFVEk7o5ybyQOK5sCz6XVz6V3cDELgSu_WsnIbM,2366
|
|
139
142
|
mx_bluesky/hyperion/parameters/__init__.py,sha256=kf2wfcILBUBpT0tJ8-W39BywQUkn67yxl9IVsfrr1LE,115
|
|
140
|
-
mx_bluesky/hyperion/parameters/cli.py,sha256=
|
|
143
|
+
mx_bluesky/hyperion/parameters/cli.py,sha256=tw8u-_THJ69_Rn8IzeEWjwfUJO8VsTKKqz9K0iZHls0,1796
|
|
141
144
|
mx_bluesky/hyperion/parameters/components.py,sha256=uXxdW6nIE1VZnh4ZXe5O-LOwsx4MbENEWfLGm2ACvsI,313
|
|
142
|
-
mx_bluesky/hyperion/parameters/constants.py,sha256=
|
|
143
|
-
mx_bluesky/hyperion/parameters/
|
|
145
|
+
mx_bluesky/hyperion/parameters/constants.py,sha256=9divI1XYUDsGq3HGm2ehq1yGGOD7tUf66xWvhVxEpB0,1982
|
|
146
|
+
mx_bluesky/hyperion/parameters/device_composites.py,sha256=iBm3qNFBG8dmVW4BPAwnhdi-HvpJ-6AuM1ZZceUembE,1645
|
|
147
|
+
mx_bluesky/hyperion/parameters/gridscan.py,sha256=-8pfO7aLMgtNwq60Lx9Q2Mdnp6Z8vPsvBZ5fNN90GGs,6014
|
|
144
148
|
mx_bluesky/hyperion/parameters/load_centre_collect.py,sha256=khLBCSeafuw0dNrvDTvKv4GrlBo1LXJZ87NTI1A92jw,3693
|
|
145
149
|
mx_bluesky/hyperion/parameters/robot_load.py,sha256=DSOwIosO629WoXbVFokEjmgqKZz3xzv0feRQHC_ZgpI,1233
|
|
146
150
|
mx_bluesky/hyperion/parameters/rotation.py,sha256=270m55MCYBFEK2LM5DjVqhnMJC1JupMMX-O4UulBSMc,7518
|
|
147
|
-
mx_bluesky/hyperion/resources/panda/panda-gridscan.yaml,sha256=
|
|
148
|
-
mx_bluesky/hyperion/utils/
|
|
149
|
-
mx_bluesky/hyperion/utils/
|
|
150
|
-
mx_bluesky
|
|
151
|
-
mx_bluesky-1.4.
|
|
152
|
-
mx_bluesky-1.4.
|
|
153
|
-
mx_bluesky-1.4.
|
|
154
|
-
mx_bluesky-1.4.
|
|
155
|
-
mx_bluesky-1.4.
|
|
151
|
+
mx_bluesky/hyperion/resources/panda/panda-gridscan.yaml,sha256=mhLBJTSjHCkM9F6mjtqbhNmmrV8qSctbCUfhb0q7pYo,28085
|
|
152
|
+
mx_bluesky/hyperion/utils/__init__.py,sha256=f4E8wInL1Ll4eeFtAiyKmipOBTPlUtKmVK-m_LOQG4M,35
|
|
153
|
+
mx_bluesky/hyperion/utils/context.py,sha256=JztC2qhd8ChAGYNUltJnuld_r2zYA37J3LiwxRE3dxQ,604
|
|
154
|
+
mx_bluesky/hyperion/utils/validation.py,sha256=a23OeppZcEMWDffbCk8UFlOk26jS9i9IhTWPkQhP28s,6743
|
|
155
|
+
mx_bluesky-1.4.6.dist-info/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
|
|
156
|
+
mx_bluesky-1.4.6.dist-info/METADATA,sha256=kNmqvzVzK_6-H0ahVkDpSv5X48_F2ByaUZFOSmnwheE,17311
|
|
157
|
+
mx_bluesky-1.4.6.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
|
158
|
+
mx_bluesky-1.4.6.dist-info/entry_points.txt,sha256=-hM2jXf6TAwgqnUHaEVx02j7sdB0L_WaeHW_tIRuj6o,600
|
|
159
|
+
mx_bluesky-1.4.6.dist-info/top_level.txt,sha256=S4rrzXIUef58ulf_04wn01XGZ3xeJjXs4LPEJ_xoF-I,11
|
|
160
|
+
mx_bluesky-1.4.6.dist-info/RECORD,,
|
|
@@ -4,5 +4,6 @@ hyperion-callbacks = mx_bluesky.hyperion.external_interaction.callbacks.__main__
|
|
|
4
4
|
hyperion-generate-test-nexus = mx_bluesky.hyperion.utils.validation:generate_test_nexus
|
|
5
5
|
hyperion-populate-test-and-meta-files = mx_bluesky.hyperion.utils.validation:copy_test_meta_data_files
|
|
6
6
|
mx-bluesky = mx_bluesky.__main__:main
|
|
7
|
+
redis_to_murko = mx_bluesky.beamlines.i04.redis_to_murko_forwarder:main
|
|
7
8
|
run_extruder = mx_bluesky.beamlines.i24.serial.run_serial:run_extruder
|
|
8
9
|
run_fixed_target = mx_bluesky.beamlines.i24.serial.run_serial:run_fixed_target
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import bluesky.plan_stubs as bps
|
|
2
|
-
from dodal.devices.eiger import EigerDetector
|
|
3
|
-
|
|
4
|
-
from mx_bluesky.common.parameters.constants import DocDescriptorNames
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
def read_hardware_for_zocalo(detector: EigerDetector):
|
|
8
|
-
""" "
|
|
9
|
-
If the RunEngine is subscribed to the ZocaloCallback, this plan will also trigger zocalo.
|
|
10
|
-
A bluesky run must be open to use this plan
|
|
11
|
-
"""
|
|
12
|
-
yield from bps.create(name=DocDescriptorNames.ZOCALO_HW_READ)
|
|
13
|
-
yield from bps.read(detector.odin.file_writer.id) # type: ignore # See: https://github.com/bluesky/bluesky/issues/1809
|
|
14
|
-
yield from bps.save()
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
from __future__ import annotations
|
|
2
|
-
|
|
3
|
-
import bluesky.plan_stubs as bps
|
|
4
|
-
from dodal.devices.aperturescatterguard import ApertureScatterguard
|
|
5
|
-
from dodal.devices.attenuator.attenuator import BinaryFilterAttenuator
|
|
6
|
-
from dodal.devices.dcm import DCM
|
|
7
|
-
from dodal.devices.eiger import EigerDetector
|
|
8
|
-
from dodal.devices.flux import Flux
|
|
9
|
-
from dodal.devices.s4_slit_gaps import S4SlitGaps
|
|
10
|
-
from dodal.devices.smargon import Smargon
|
|
11
|
-
from dodal.devices.synchrotron import Synchrotron
|
|
12
|
-
from dodal.devices.undulator import Undulator
|
|
13
|
-
|
|
14
|
-
from mx_bluesky.common.utils.log import LOGGER
|
|
15
|
-
from mx_bluesky.hyperion.parameters.constants import CONST
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
def read_hardware_pre_collection(
|
|
19
|
-
undulator: Undulator,
|
|
20
|
-
synchrotron: Synchrotron,
|
|
21
|
-
s4_slit_gaps: S4SlitGaps,
|
|
22
|
-
dcm: DCM,
|
|
23
|
-
smargon: Smargon,
|
|
24
|
-
):
|
|
25
|
-
LOGGER.info("Reading status of beamline for callbacks, pre collection.")
|
|
26
|
-
yield from bps.create(
|
|
27
|
-
name=CONST.DESCRIPTORS.HARDWARE_READ_PRE
|
|
28
|
-
) # gives name to event *descriptor* document
|
|
29
|
-
yield from bps.read(undulator.current_gap)
|
|
30
|
-
yield from bps.read(synchrotron.synchrotron_mode)
|
|
31
|
-
yield from bps.read(s4_slit_gaps.xgap) # type: ignore # See: https://github.com/bluesky/bluesky/issues/1809
|
|
32
|
-
yield from bps.read(s4_slit_gaps.ygap) # type: ignore # See: https://github.com/bluesky/bluesky/issues/1809
|
|
33
|
-
yield from bps.read(smargon.x)
|
|
34
|
-
yield from bps.read(smargon.y)
|
|
35
|
-
yield from bps.read(smargon.z)
|
|
36
|
-
yield from bps.read(dcm.energy_in_kev)
|
|
37
|
-
yield from bps.save()
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
def read_hardware_during_collection(
|
|
41
|
-
aperture_scatterguard: ApertureScatterguard,
|
|
42
|
-
attenuator: BinaryFilterAttenuator,
|
|
43
|
-
flux: Flux,
|
|
44
|
-
dcm: DCM,
|
|
45
|
-
detector: EigerDetector,
|
|
46
|
-
):
|
|
47
|
-
LOGGER.info("Reading status of beamline for callbacks, during collection.")
|
|
48
|
-
yield from bps.create(name=CONST.DESCRIPTORS.HARDWARE_READ_DURING)
|
|
49
|
-
yield from bps.read(aperture_scatterguard)
|
|
50
|
-
yield from bps.read(attenuator.actual_transmission)
|
|
51
|
-
yield from bps.read(flux.flux_reading) # type: ignore # See: https://github.com/bluesky/bluesky/issues/1809
|
|
52
|
-
yield from bps.read(dcm.energy_in_kev)
|
|
53
|
-
yield from bps.read(detector.bit_depth) # type: ignore # See: https://github.com/bluesky/bluesky/issues/1809
|
|
54
|
-
yield from bps.save()
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
from collections.abc import Callable
|
|
2
|
-
|
|
3
|
-
from bluesky.callbacks import CallbackBase
|
|
4
|
-
|
|
5
|
-
from mx_bluesky.common.external_interaction.callbacks.common.zocalo_callback import (
|
|
6
|
-
ZocaloCallback,
|
|
7
|
-
)
|
|
8
|
-
from mx_bluesky.common.external_interaction.callbacks.xray_centre.ispyb_callback import (
|
|
9
|
-
GridscanISPyBCallback,
|
|
10
|
-
)
|
|
11
|
-
from mx_bluesky.common.external_interaction.callbacks.xray_centre.nexus_callback import (
|
|
12
|
-
GridscanNexusFileCallback,
|
|
13
|
-
)
|
|
14
|
-
from mx_bluesky.hyperion.external_interaction.callbacks.robot_load.ispyb_callback import (
|
|
15
|
-
RobotLoadISPyBCallback,
|
|
16
|
-
)
|
|
17
|
-
from mx_bluesky.hyperion.external_interaction.callbacks.rotation.ispyb_callback import (
|
|
18
|
-
RotationISPyBCallback,
|
|
19
|
-
)
|
|
20
|
-
from mx_bluesky.hyperion.external_interaction.callbacks.rotation.nexus_callback import (
|
|
21
|
-
RotationNexusFileCallback,
|
|
22
|
-
)
|
|
23
|
-
from mx_bluesky.hyperion.external_interaction.callbacks.sample_handling.sample_handling_callback import (
|
|
24
|
-
SampleHandlingCallback,
|
|
25
|
-
)
|
|
26
|
-
from mx_bluesky.hyperion.parameters.constants import CONST
|
|
27
|
-
from mx_bluesky.hyperion.parameters.gridscan import (
|
|
28
|
-
GridCommonWithHyperionDetectorParams,
|
|
29
|
-
HyperionSpecifiedThreeDGridScan,
|
|
30
|
-
)
|
|
31
|
-
|
|
32
|
-
CallbacksFactory = Callable[[], tuple[CallbackBase, ...]]
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
def create_robot_load_and_centre_callbacks() -> tuple[
|
|
36
|
-
GridscanNexusFileCallback, GridscanISPyBCallback, RobotLoadISPyBCallback
|
|
37
|
-
]:
|
|
38
|
-
"""Note: This is not actually used in production, see https://github.com/DiamondLightSource/mx-bluesky/issues/516"""
|
|
39
|
-
return (
|
|
40
|
-
GridscanNexusFileCallback(param_type=HyperionSpecifiedThreeDGridScan),
|
|
41
|
-
GridscanISPyBCallback(
|
|
42
|
-
param_type=GridCommonWithHyperionDetectorParams,
|
|
43
|
-
emit=ZocaloCallback(CONST.PLAN.DO_FGS, CONST.ZOCALO_ENV),
|
|
44
|
-
),
|
|
45
|
-
RobotLoadISPyBCallback(),
|
|
46
|
-
)
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
def create_gridscan_callbacks() -> tuple[
|
|
50
|
-
GridscanNexusFileCallback, GridscanISPyBCallback
|
|
51
|
-
]:
|
|
52
|
-
"""Note: This is not actually used in production, see https://github.com/DiamondLightSource/mx-bluesky/issues/516"""
|
|
53
|
-
return (
|
|
54
|
-
GridscanNexusFileCallback(param_type=HyperionSpecifiedThreeDGridScan),
|
|
55
|
-
GridscanISPyBCallback(
|
|
56
|
-
param_type=GridCommonWithHyperionDetectorParams,
|
|
57
|
-
emit=ZocaloCallback(CONST.PLAN.DO_FGS, CONST.ZOCALO_ENV),
|
|
58
|
-
),
|
|
59
|
-
)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
def create_rotation_callbacks() -> tuple[
|
|
63
|
-
RotationNexusFileCallback, RotationISPyBCallback
|
|
64
|
-
]:
|
|
65
|
-
"""Note: This is not actually used in production, see https://github.com/DiamondLightSource/mx-bluesky/issues/516"""
|
|
66
|
-
return (
|
|
67
|
-
RotationNexusFileCallback(),
|
|
68
|
-
RotationISPyBCallback(
|
|
69
|
-
emit=ZocaloCallback(CONST.PLAN.ROTATION_MAIN, CONST.ZOCALO_ENV)
|
|
70
|
-
),
|
|
71
|
-
)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
def create_load_centre_collect_callbacks() -> tuple[
|
|
75
|
-
GridscanNexusFileCallback,
|
|
76
|
-
GridscanISPyBCallback,
|
|
77
|
-
RobotLoadISPyBCallback,
|
|
78
|
-
RotationNexusFileCallback,
|
|
79
|
-
RotationISPyBCallback,
|
|
80
|
-
SampleHandlingCallback,
|
|
81
|
-
]:
|
|
82
|
-
"""Note: This is not actually used in production, see https://github.com/DiamondLightSource/mx-bluesky/issues/516"""
|
|
83
|
-
return (
|
|
84
|
-
GridscanNexusFileCallback(param_type=HyperionSpecifiedThreeDGridScan),
|
|
85
|
-
GridscanISPyBCallback(
|
|
86
|
-
param_type=GridCommonWithHyperionDetectorParams,
|
|
87
|
-
emit=ZocaloCallback(CONST.PLAN.DO_FGS, CONST.ZOCALO_ENV),
|
|
88
|
-
),
|
|
89
|
-
RobotLoadISPyBCallback(),
|
|
90
|
-
RotationNexusFileCallback(),
|
|
91
|
-
RotationISPyBCallback(
|
|
92
|
-
emit=ZocaloCallback(CONST.PLAN.ROTATION_MAIN, CONST.ZOCALO_ENV)
|
|
93
|
-
),
|
|
94
|
-
SampleHandlingCallback(),
|
|
95
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|