dls-dodal 1.31.1__tar.gz → 1.33.0__tar.gz
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.31.1 → dls_dodal-1.33.0}/PKG-INFO +3 -2
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/reference/device-standards.rst +78 -5
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/pull_request_template.md +1 -1
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/pyproject.toml +2 -1
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dls_dodal.egg-info/PKG-INFO +3 -2
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dls_dodal.egg-info/SOURCES.txt +4 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dls_dodal.egg-info/requires.txt +2 -1
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/_version.py +2 -2
- dls_dodal-1.33.0/src/dodal/beamlines/b01_1.py +77 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/i04.py +1 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/i22.py +1 -0
- dls_dodal-1.33.0/src/dodal/common/signal_utils.py +53 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/aperturescatterguard.py +22 -25
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/areadetector/plugins/MJPG.py +32 -8
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/fast_grid_scan.py +2 -1
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/focusing_mirror.py +4 -5
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i24/pmac.py +77 -15
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/oav/oav_detector.py +1 -15
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/robot.py +18 -6
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/tetramm.py +11 -16
- dls_dodal-1.33.0/src/dodal/devices/undulator.py +154 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/undulator_dcm.py +3 -57
- dls_dodal-1.33.0/src/dodal/devices/webcam.py +62 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/zocalo/zocalo_interaction.py +6 -1
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/zocalo/zocalo_results.py +114 -10
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/utils.py +4 -3
- dls_dodal-1.33.0/tests/devices/system_tests/test_undulator_system.py +19 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/areadetector/plugins/test_MJPG.py +12 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/i24/test_pmac.py +41 -8
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/oav/test_oav.py +0 -29
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_aperture_scatterguard.py +71 -22
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_bart_robot.py +10 -1
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_focusing_mirror.py +8 -10
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_gridscan.py +1 -1
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_oav.py +0 -22
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_tetramm.py +70 -26
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_undulator.py +33 -1
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_undulator_dcm.py +15 -29
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_webcam.py +36 -16
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_xspress3.py +2 -2
- dls_dodal-1.33.0/tests/devices/unit_tests/test_zocalo_results.py +481 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/fake_zocalo/__main__.py +1 -1
- dls_dodal-1.33.0/tests/test_data/test_images/oav_snapshot_expected.png +0 -0
- dls_dodal-1.33.0/tests/test_data/test_images/oav_snapshot_test.png +0 -0
- dls_dodal-1.31.1/src/dodal/devices/undulator.py +0 -65
- dls_dodal-1.31.1/src/dodal/devices/webcam.py +0 -36
- dls_dodal-1.31.1/tests/devices/system_tests/test_undulator_system.py +0 -12
- dls_dodal-1.31.1/tests/devices/unit_tests/test_zocalo_results.py +0 -252
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.copier-answers.yml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.devcontainer/devcontainer.json +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/CONTRIBUTING.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/ISSUE_TEMPLATE/issue_template.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/actions/install_requirements/action.yml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/dependabot.yml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/pages/index.html +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/pages/make_switcher.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/workflows/_check.yml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/workflows/_dist.yml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/workflows/_docs.yml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/workflows/_pypi.yml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/workflows/_release.yml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/workflows/_test.yml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/workflows/_tox.yml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/workflows/ci.yml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.github/workflows/periodic.yml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.gitignore +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.pre-commit-config.yaml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.vscode/extensions.json +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.vscode/launch.json +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.vscode/settings.json +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/.vscode/tasks.json +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/Dockerfile +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/LICENSE +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/README.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/catalog-info.yaml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/_templates/autosummary/class.rst +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/_templates/autosummary/module.rst +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/assets/zocalo.png +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/conf.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/explanations/decisions/0001-record-architecture-decisions.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/explanations/decisions/0002-switched-to-python-copier-template.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/explanations/decisions/COPYME +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/explanations/decisions.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/explanations.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/genindex.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/build-docs.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/contribute.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/coverage.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/create-beamline.rst +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/dev-install.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/excalidraw.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/lint.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/lock-requirements.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/make-new-ophyd-async-device.rst +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/make-release.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/move-code.rst +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/pypi.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/run-tests.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/static-analysis.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/update-template.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to/zocalo.rst +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/how-to.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/images/dls-logo.svg +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/images/excalidraw-example.svg +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/index.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/reference/api.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/reference/standards.rst +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/reference.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/tutorials/get_started.rst +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/tutorials/installation.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/docs/tutorials.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/setup.cfg +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dls_dodal.egg-info/dependency_links.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dls_dodal.egg-info/entry_points.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dls_dodal.egg-info/top_level.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/__main__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/adsim.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamline_specific_utils/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamline_specific_utils/i03.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/README.md +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/i03.py +1 -1
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/i04_1.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/i13_1.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/i20_1.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/i23.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/i24.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/p38.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/p45.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/p99.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/beamlines/training_rig.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/cli.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/common/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/common/beamlines/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/common/beamlines/beamline_parameters.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/common/beamlines/beamline_utils.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/common/beamlines/device_helpers.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/common/coordination.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/common/maths.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/common/types.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/common/udc_directory_provider.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/common/visit.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/CTAB.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/adsim.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/aperture.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/areadetector/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/areadetector/adaravis.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/areadetector/adsim.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/areadetector/adutils.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/attenuator.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/backlight.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/cryostream.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/dcm.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/detector/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/detector/det_dim_constants.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/detector/det_dist_to_beam_converter.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/detector/det_resolution.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/detector/detector.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/detector/detector_motion.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/eiger.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/eiger_odin.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/fluorescence_detector_motion.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/flux.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/hutch_shutter.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i03/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i04/transfocator.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i20_1/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i22/dcm.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i22/fswitch.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i22/nxsas.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i24/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i24/aperture.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i24/beamstop.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i24/dcm.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i24/dual_backlight.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i24/i24_detector_motion.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/i24/i24_vgonio.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/ipin.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/linkam3.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/logging_ophyd_device.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/motors.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/oav/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/oav/grid_overlay.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/oav/microns_for_zoom_levels.json +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/oav/oav_calculations.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/oav/oav_errors.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/oav/oav_parameters.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/oav/oav_to_redis_forwarder.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/oav/pin_image_recognition/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/oav/pin_image_recognition/manual_test.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/oav/pin_image_recognition/utils.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/oav/utils.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/p45.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/p99/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/p99/sample_stage.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/s4_slit_gaps.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/scatterguard.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/scintillator.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/slits.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/smargon.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/status.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/synchrotron.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/thawer.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/training_rig/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/training_rig/sample_stage.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/turbo_slit.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/util/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/util/adjuster_plans.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/util/epics_util.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/util/lookup_tables.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/util/motor_utils.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/util/save_panda.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/util/test_utils.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/xbpm_feedback.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/xspress3/xspress3.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/xspress3/xspress3_channel.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/zebra.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/zebra_controlled_shutter.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/devices/zocalo/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/log.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/parameters/experiment_parameter_base.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/plans/check_topup.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/plans/data_session_metadata.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/src/dodal/plans/motor_util_plans.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/beamlines/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/beamlines/unit_tests/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/beamlines/unit_tests/test_i03.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/beamlines/unit_tests/test_i24.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/beamlines/unit_tests/test_mapping.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/common/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/common/beamlines/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/common/beamlines/test_beamline_parameters.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/common/beamlines/test_beamline_utils.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/common/beamlines/test_device_helpers.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/common/beamlines/test_device_instantiation.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/common/test_coordination.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/common/test_maths.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/common/test_udc_directory_provider.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/common/test_visit.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/conftest.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/i04/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/i04/test_transfocator.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/i22/test_dcm.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/i22/test_fswitch.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/i22/test_metadataholder.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/system_tests/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/system_tests/test_aperturescatterguard_system.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/system_tests/test_eiger_system.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/system_tests/test_gridscan_system.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/system_tests/test_oav_system.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/system_tests/test_oav_to_redis_system.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/system_tests/test_slit_gaps_system.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/system_tests/test_smargon_system.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/system_tests/test_synchrotron_system.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/system_tests/test_zebra_system.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/system_tests/test_zocalo_results.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/training_rig/test_sample_stage.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/conftest.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/detector/test_det_dim_constants.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/detector/test_det_resolution.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/detector/test_detector.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/i24/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/i24/test_dual_backlight.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/oav/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/oav/image_recognition/test_pin_tip_detect.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/oav/image_recognition/test_pin_tip_detect_utils.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/oav/test_oav_parameters.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/oav/test_oav_to_redis_forwarder.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/p99/test_p99_stage.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_OAVCentring.json +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_aperture.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_attenuator.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_backlight.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_beam_converter.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_beamline_undulator_to_gap_lookup_table.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_daq_configuration/domain/beamlineParameters +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_daq_configuration/lookup/BeamLineEnergy_DCM_Pitch_converter.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_daq_configuration/lookup/BeamLineEnergy_DCM_Roll_converter.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_dcm.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_display.configuration +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_eiger.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_grid_overlay.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_hutch_shutter.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_jCameraManZoomLevels.xml +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_linkam3.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_lookup_table.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_lookup_table_2.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_odin.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_shutter.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_slits.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_smargon.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_status.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_synchrotron.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_thawer.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_utils.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_xbpm_feedback.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_zebra.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/test_zocalo_interaction.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/util/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/util/test_adjuster_plans.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/util/test_beamline_specific_utils.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/util/test_lookup_tables.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/devices/unit_tests/util/test_save_panda.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/fake_beamline.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/fake_beamline_all_devices_raise_exception.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/fake_beamline_broken_dependency.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/fake_beamline_dependencies.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/fake_beamline_disordered_dependencies.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/fake_beamline_misbehaving_builtins.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/fake_beamline_some_devices_working.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/fake_zocalo/README.rst +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/fake_zocalo/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/fake_zocalo/dls_start_fake_zocalo.sh +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/plans/test_motor_util_plans.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/plans/test_topup_plan.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/preprocessors/test_filesystem_metadata.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/test_cli.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/test_data/bad_beamlineParameters +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/test_data/i04_beamlineParameters +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/test_data/test_beamline_dcm_roll_converter.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/test_data/test_beamline_dcm_roll_converter_non_monotonic.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/test_data/test_beamline_dcm_roll_converter_reversed.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/test_data/test_beamline_parameters.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/test_data/test_det_dist_converter.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/test_data/topup_long_delay.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/test_data/topup_short_params.txt +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/test_utils.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/unit_tests/__init__.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/unit_tests/test_cli.py +0 -0
- {dls_dodal-1.31.1 → dls_dodal-1.33.0}/tests/unit_tests/test_log.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dls-dodal
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.33.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,7 +216,7 @@ 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.7,>=0.6
|
|
220
220
|
Requires-Dist: bluesky
|
|
221
221
|
Requires-Dist: pyepics
|
|
222
222
|
Requires-Dist: dataclasses-json
|
|
@@ -232,6 +232,7 @@ Requires-Dist: numpy<2.0
|
|
|
232
232
|
Requires-Dist: aiofiles
|
|
233
233
|
Requires-Dist: aiohttp
|
|
234
234
|
Requires-Dist: redis
|
|
235
|
+
Requires-Dist: deepdiff
|
|
235
236
|
Provides-Extra: dev
|
|
236
237
|
Requires-Dist: black; extra == "dev"
|
|
237
238
|
Requires-Dist: diff-cover; extra == "dev"
|
|
@@ -21,6 +21,17 @@ should think about where to place them in the following order:
|
|
|
21
21
|
|
|
22
22
|
This is in an effort to avoid duplication across facilities/beamlines.
|
|
23
23
|
|
|
24
|
+
Device Best Practices
|
|
25
|
+
----------------------------
|
|
26
|
+
|
|
27
|
+
Ophyd-async directory contains a flowchart_ for a simplified decision tree about what interfaces
|
|
28
|
+
should a given device implement. In addition to this the following guidelines are strongly recommended:
|
|
29
|
+
|
|
30
|
+
#. Devices should contain only the PV suffixes that are generic for any instance of the device. See `PV Suffixes`_
|
|
31
|
+
#. Anything in a device that is expected to be set externally should be a signal. See `Use of signals`_
|
|
32
|
+
#. Devices should not hold state, when they are read they should read the hardware. See `Holding State`_
|
|
33
|
+
|
|
34
|
+
|
|
24
35
|
PV Suffixes
|
|
25
36
|
-----------
|
|
26
37
|
|
|
@@ -86,16 +97,78 @@ Instead you should make a soft signal:
|
|
|
86
97
|
|
|
87
98
|
class MyDevice(Device):
|
|
88
99
|
def __init__(self):
|
|
89
|
-
self.param =
|
|
100
|
+
self.param = soft_signal_rw(str)
|
|
90
101
|
|
|
91
102
|
my_device = MyDevice()
|
|
92
103
|
def my_plan():
|
|
93
104
|
yield from bps.mv(my_device.param, "new_value")
|
|
94
105
|
|
|
95
|
-
Ophyd Devices best practices
|
|
96
|
-
----------------------------
|
|
97
106
|
|
|
98
|
-
|
|
99
|
-
|
|
107
|
+
Holding State
|
|
108
|
+
-------------
|
|
109
|
+
|
|
110
|
+
Devices should avoid holding state as much as possible. Ophyd devices are mostly trying to reflect the state of hardware and so when the device is read that hardware should be read.
|
|
111
|
+
|
|
112
|
+
If the device holds the state itself it is likely to not reflect the real hardware if:
|
|
113
|
+
* The device has just been initialised
|
|
114
|
+
* The hardware has changed independently e.g. via EPICS directly
|
|
115
|
+
* The hardware has failed to do what the device expected
|
|
116
|
+
|
|
117
|
+
For example, if I have a device that I would like to treat as moving in/out based on an underlying axis then it would be incorrect to implement it like this:
|
|
118
|
+
|
|
119
|
+
.. code-block:: python
|
|
120
|
+
|
|
121
|
+
class InOut(Enum):
|
|
122
|
+
IN = 0
|
|
123
|
+
OUT = 0
|
|
124
|
+
|
|
125
|
+
class MyDevice(Device):
|
|
126
|
+
def __init__(self):
|
|
127
|
+
self.underlying_motor = Motor("MOTOR")
|
|
128
|
+
with self.add_children_as_readables():
|
|
129
|
+
self.in_out, self._in_out_setter = soft_signal_r_and_setter(InOut)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
@AsyncStatus.wrap
|
|
133
|
+
async def set(self, value: InOut):
|
|
134
|
+
if value == InOut.IN:
|
|
135
|
+
await self.underlying_motor.set(100)
|
|
136
|
+
else:
|
|
137
|
+
await self.underlying_motor.set(0)
|
|
138
|
+
self._in_out_setter(value)
|
|
139
|
+
|
|
140
|
+
While this may appear to work fine during normal operation the state of in_out is only ever updated if the ophyd device is set. It is incorrect to assume that underlying_motor only changes
|
|
141
|
+
based on this and so this has the issues listed above. Instead you should make sure to update in_out whenever the device is read e.g.
|
|
142
|
+
|
|
143
|
+
.. code-block:: python
|
|
144
|
+
|
|
145
|
+
class InOut(Enum):
|
|
146
|
+
IN = 0
|
|
147
|
+
OUT = 0
|
|
148
|
+
|
|
149
|
+
class MyDevice(Device):
|
|
150
|
+
def __init__(self):
|
|
151
|
+
self.underlying_motor = Motor("MOTOR")
|
|
152
|
+
with self.add_children_as_readables():
|
|
153
|
+
self.in_out = create_hardware_backed_soft_signal(InOut, self._get_in_out_from_hardware)
|
|
154
|
+
|
|
155
|
+
async def _get_in_out_from_hardware(self):
|
|
156
|
+
current_position = await self.underlying_motor.get_value()
|
|
157
|
+
if isclose(current_position, 0):
|
|
158
|
+
return InOut.IN
|
|
159
|
+
elif isclose(current_position, 100):
|
|
160
|
+
return InOut.OUT
|
|
161
|
+
else:
|
|
162
|
+
raise ValueError()
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
@AsyncStatus.wrap
|
|
166
|
+
async def set(self, value: InOut):
|
|
167
|
+
if value == InOut.IN:
|
|
168
|
+
await self.underlying_motor.set(100)
|
|
169
|
+
else:
|
|
170
|
+
await self.underlying_motor.set(0)
|
|
171
|
+
|
|
172
|
+
This will be simplified by https://github.com/bluesky/ophyd-async/issues/525
|
|
100
173
|
|
|
101
174
|
.. _flowchart: https://blueskyproject.io/ophyd-async/main/how-to/choose-interfaces-for-devices.html
|
|
@@ -6,6 +6,6 @@ Fixes #ISSUE
|
|
|
6
6
|
|
|
7
7
|
### Checks for reviewer
|
|
8
8
|
- [ ] Would the PR title make sense to a scientist on a set of release notes
|
|
9
|
-
- [ ] If a new device has been added does it follow the [standards](https://github.
|
|
9
|
+
- [ ] If a new device has been added does it follow the [standards](https://diamondlightsource.github.io/dodal/main/reference/device-standards.html)
|
|
10
10
|
- [ ] If changing the API for a pre-existing device, ensure that any beamlines using this device have updated their Bluesky plans accordingly
|
|
11
11
|
- [ ] Have the connection tests for the relevant beamline(s) been run via `dodal connect ${BEAMLINE}`
|
|
@@ -15,7 +15,7 @@ description = "Ophyd devices and other utils that could be used across DLS beaml
|
|
|
15
15
|
dependencies = [
|
|
16
16
|
"click",
|
|
17
17
|
"ophyd",
|
|
18
|
-
"ophyd-async>=0.
|
|
18
|
+
"ophyd-async>=0.6,<0.7",
|
|
19
19
|
"bluesky",
|
|
20
20
|
"pyepics",
|
|
21
21
|
"dataclasses-json",
|
|
@@ -31,6 +31,7 @@ dependencies = [
|
|
|
31
31
|
"aiofiles",
|
|
32
32
|
"aiohttp",
|
|
33
33
|
"redis",
|
|
34
|
+
"deepdiff",
|
|
34
35
|
]
|
|
35
36
|
|
|
36
37
|
dynamic = ["version"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dls-dodal
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.33.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,7 +216,7 @@ 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.7,>=0.6
|
|
220
220
|
Requires-Dist: bluesky
|
|
221
221
|
Requires-Dist: pyepics
|
|
222
222
|
Requires-Dist: dataclasses-json
|
|
@@ -232,6 +232,7 @@ Requires-Dist: numpy<2.0
|
|
|
232
232
|
Requires-Dist: aiofiles
|
|
233
233
|
Requires-Dist: aiohttp
|
|
234
234
|
Requires-Dist: redis
|
|
235
|
+
Requires-Dist: deepdiff
|
|
235
236
|
Provides-Extra: dev
|
|
236
237
|
Requires-Dist: black; extra == "dev"
|
|
237
238
|
Requires-Dist: diff-cover; extra == "dev"
|
|
@@ -82,6 +82,7 @@ src/dodal/beamline_specific_utils/__init__.py
|
|
|
82
82
|
src/dodal/beamline_specific_utils/i03.py
|
|
83
83
|
src/dodal/beamlines/README.md
|
|
84
84
|
src/dodal/beamlines/__init__.py
|
|
85
|
+
src/dodal/beamlines/b01_1.py
|
|
85
86
|
src/dodal/beamlines/i03.py
|
|
86
87
|
src/dodal/beamlines/i04.py
|
|
87
88
|
src/dodal/beamlines/i04_1.py
|
|
@@ -97,6 +98,7 @@ src/dodal/beamlines/training_rig.py
|
|
|
97
98
|
src/dodal/common/__init__.py
|
|
98
99
|
src/dodal/common/coordination.py
|
|
99
100
|
src/dodal/common/maths.py
|
|
101
|
+
src/dodal/common/signal_utils.py
|
|
100
102
|
src/dodal/common/types.py
|
|
101
103
|
src/dodal/common/udc_directory_provider.py
|
|
102
104
|
src/dodal/common/visit.py
|
|
@@ -321,6 +323,8 @@ tests/test_data/test_beamline_parameters.txt
|
|
|
321
323
|
tests/test_data/test_det_dist_converter.txt
|
|
322
324
|
tests/test_data/topup_long_delay.txt
|
|
323
325
|
tests/test_data/topup_short_params.txt
|
|
326
|
+
tests/test_data/test_images/oav_snapshot_expected.png
|
|
327
|
+
tests/test_data/test_images/oav_snapshot_test.png
|
|
324
328
|
tests/unit_tests/__init__.py
|
|
325
329
|
tests/unit_tests/test_cli.py
|
|
326
330
|
tests/unit_tests/test_log.py
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
from pathlib import Path
|
|
2
|
+
|
|
3
|
+
from ophyd_async.epics.adaravis import AravisDetector
|
|
4
|
+
from ophyd_async.fastcs.panda import HDFPanda
|
|
5
|
+
|
|
6
|
+
from dodal.common.beamlines.beamline_utils import (
|
|
7
|
+
device_instantiation,
|
|
8
|
+
get_path_provider,
|
|
9
|
+
set_path_provider,
|
|
10
|
+
)
|
|
11
|
+
from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
|
|
12
|
+
from dodal.common.visit import LocalDirectoryServiceClient, StaticVisitPathProvider
|
|
13
|
+
from dodal.devices.synchrotron import Synchrotron
|
|
14
|
+
from dodal.log import set_beamline as set_log_beamline
|
|
15
|
+
|
|
16
|
+
BL = "c01"
|
|
17
|
+
set_log_beamline(BL)
|
|
18
|
+
set_utils_beamline(BL)
|
|
19
|
+
|
|
20
|
+
set_path_provider(
|
|
21
|
+
StaticVisitPathProvider(
|
|
22
|
+
BL,
|
|
23
|
+
Path("/dls/b01-1/data/"),
|
|
24
|
+
client=LocalDirectoryServiceClient(),
|
|
25
|
+
)
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
NOTE: Due to ArgoCD and the k8s cluster configuration those PVs are not available remotely.
|
|
30
|
+
You need to be on the beamline-local network to access them.
|
|
31
|
+
The simplest way to do this is to `ssh b01-1-ws001` and run `dodal connect b01_1` from there.
|
|
32
|
+
remember about the underscore in the beamline name.
|
|
33
|
+
|
|
34
|
+
See the IOC status here:
|
|
35
|
+
https://argocd.diamond.ac.uk/applications?showFavorites=false&proj=&sync=&autoSync=&health=&namespace=&cluster=&labels=
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def panda(
|
|
40
|
+
wait_for_connection: bool = True, fake_with_ophyd_sim: bool = False
|
|
41
|
+
) -> HDFPanda:
|
|
42
|
+
return device_instantiation(
|
|
43
|
+
device_factory=HDFPanda,
|
|
44
|
+
name="panda",
|
|
45
|
+
prefix="-EA-PANDA-01:",
|
|
46
|
+
wait=wait_for_connection,
|
|
47
|
+
fake=fake_with_ophyd_sim,
|
|
48
|
+
path_provider=get_path_provider(),
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def synchrotron(
|
|
53
|
+
wait_for_connection: bool = True, fake_with_ophyd_sim: bool = False
|
|
54
|
+
) -> Synchrotron:
|
|
55
|
+
return device_instantiation(
|
|
56
|
+
Synchrotron,
|
|
57
|
+
"synchrotron",
|
|
58
|
+
"",
|
|
59
|
+
wait_for_connection,
|
|
60
|
+
fake_with_ophyd_sim,
|
|
61
|
+
bl_prefix=False,
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def manta(
|
|
66
|
+
wait_for_connection: bool = True, fake_with_ophyd_sim: bool = False
|
|
67
|
+
) -> AravisDetector:
|
|
68
|
+
return device_instantiation(
|
|
69
|
+
AravisDetector,
|
|
70
|
+
"manta",
|
|
71
|
+
"-DI-DCAM-02:",
|
|
72
|
+
wait_for_connection,
|
|
73
|
+
fake_with_ophyd_sim,
|
|
74
|
+
path_provider=get_path_provider(),
|
|
75
|
+
drv_suffix="CAM:",
|
|
76
|
+
hdf_suffix="HDF5:",
|
|
77
|
+
)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
from collections.abc import Callable, Coroutine
|
|
2
|
+
from typing import Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from bluesky.protocols import Reading
|
|
5
|
+
from ophyd_async.core import SignalR, SoftSignalBackend
|
|
6
|
+
from ophyd_async.core._soft_signal_backend import SignalMetadata
|
|
7
|
+
|
|
8
|
+
T = TypeVar("T")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class HarwareBackedSoftSignalBackend(SoftSignalBackend[T]):
|
|
12
|
+
def __init__(
|
|
13
|
+
self,
|
|
14
|
+
get_from_hardware_func: Callable[[], Coroutine[Any, Any, T]],
|
|
15
|
+
*args,
|
|
16
|
+
**kwargs,
|
|
17
|
+
) -> None:
|
|
18
|
+
self.get_from_hardware_func = get_from_hardware_func
|
|
19
|
+
super().__init__(*args, **kwargs)
|
|
20
|
+
|
|
21
|
+
async def _update_value(self):
|
|
22
|
+
new_value = await self.get_from_hardware_func()
|
|
23
|
+
await self.put(new_value)
|
|
24
|
+
|
|
25
|
+
async def get_reading(self) -> Reading:
|
|
26
|
+
await self._update_value()
|
|
27
|
+
return await super().get_reading()
|
|
28
|
+
|
|
29
|
+
async def get_value(self) -> T:
|
|
30
|
+
await self._update_value()
|
|
31
|
+
return await super().get_value()
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def create_hardware_backed_soft_signal(
|
|
35
|
+
datatype: type[T],
|
|
36
|
+
get_from_hardware_func: Callable[[], Coroutine[Any, Any, T]],
|
|
37
|
+
units: str | None = None,
|
|
38
|
+
precision: int | None = None,
|
|
39
|
+
):
|
|
40
|
+
"""Creates a soft signal that, when read will call the function passed into
|
|
41
|
+
`get_from_hardware_func` and return this.
|
|
42
|
+
|
|
43
|
+
This will allow you to make soft signals derived from arbitrary hardware signals.
|
|
44
|
+
However, calling subscribe on this signal does not give you a sensible value and
|
|
45
|
+
the signal is currently read only. See https://github.com/bluesky/ophyd-async/issues/525
|
|
46
|
+
for a more full solution.
|
|
47
|
+
"""
|
|
48
|
+
metadata = SignalMetadata(units=units, precision=precision)
|
|
49
|
+
return SignalR(
|
|
50
|
+
backend=HarwareBackedSoftSignalBackend(
|
|
51
|
+
get_from_hardware_func, datatype, metadata=metadata
|
|
52
|
+
)
|
|
53
|
+
)
|
|
@@ -8,11 +8,11 @@ from ophyd_async.core import (
|
|
|
8
8
|
AsyncStatus,
|
|
9
9
|
HintedSignal,
|
|
10
10
|
StandardReadable,
|
|
11
|
-
soft_signal_rw,
|
|
12
11
|
)
|
|
13
12
|
from pydantic import BaseModel, Field
|
|
14
13
|
|
|
15
14
|
from dodal.common.beamlines.beamline_parameters import GDABeamlineParameters
|
|
15
|
+
from dodal.common.signal_utils import create_hardware_backed_soft_signal
|
|
16
16
|
from dodal.devices.aperture import Aperture
|
|
17
17
|
from dodal.devices.scatterguard import Scatterguard
|
|
18
18
|
|
|
@@ -105,7 +105,9 @@ class ApertureScatterguard(StandardReadable, Movable):
|
|
|
105
105
|
) -> None:
|
|
106
106
|
self.aperture = Aperture(prefix + "-MO-MAPT-01:")
|
|
107
107
|
self.scatterguard = Scatterguard(prefix + "-MO-SCAT-01:")
|
|
108
|
-
self.radius =
|
|
108
|
+
self.radius = create_hardware_backed_soft_signal(
|
|
109
|
+
float, self._get_current_radius, units="µm"
|
|
110
|
+
)
|
|
109
111
|
self._loaded_positions = loaded_positions
|
|
110
112
|
self._tolerances = tolerances
|
|
111
113
|
self.add_readables(
|
|
@@ -119,7 +121,9 @@ class ApertureScatterguard(StandardReadable, Movable):
|
|
|
119
121
|
],
|
|
120
122
|
)
|
|
121
123
|
with self.add_children_as_readables(HintedSignal):
|
|
122
|
-
self.selected_aperture =
|
|
124
|
+
self.selected_aperture = create_hardware_backed_soft_signal(
|
|
125
|
+
ApertureValue, self._get_current_aperture_position
|
|
126
|
+
)
|
|
123
127
|
|
|
124
128
|
super().__init__(name)
|
|
125
129
|
|
|
@@ -136,9 +140,6 @@ class ApertureScatterguard(StandardReadable, Movable):
|
|
|
136
140
|
@AsyncStatus.wrap
|
|
137
141
|
async def _set_raw_unsafe(self, position: AperturePosition):
|
|
138
142
|
"""Accept the risks and move in an unsafe way. Collisions possible."""
|
|
139
|
-
if position.radius is not None:
|
|
140
|
-
await self.radius.set(position.radius)
|
|
141
|
-
|
|
142
143
|
aperture_x, aperture_y, aperture_z, scatterguard_x, scatterguard_y = (
|
|
143
144
|
position.values
|
|
144
145
|
)
|
|
@@ -150,13 +151,8 @@ class ApertureScatterguard(StandardReadable, Movable):
|
|
|
150
151
|
self.scatterguard.x.set(scatterguard_x),
|
|
151
152
|
self.scatterguard.y.set(scatterguard_y),
|
|
152
153
|
)
|
|
153
|
-
try:
|
|
154
|
-
value = await self.get_current_aperture_position()
|
|
155
|
-
self.selected_aperture.set(value)
|
|
156
|
-
except InvalidApertureMove:
|
|
157
|
-
self.selected_aperture.set(None) # type: ignore
|
|
158
154
|
|
|
159
|
-
async def
|
|
155
|
+
async def _get_current_aperture_position(self) -> ApertureValue:
|
|
160
156
|
"""
|
|
161
157
|
Returns the current aperture position using readback values
|
|
162
158
|
for SMALL, MEDIUM, LARGE. ROBOT_LOAD position defined when
|
|
@@ -176,6 +172,10 @@ class ApertureScatterguard(StandardReadable, Movable):
|
|
|
176
172
|
|
|
177
173
|
raise InvalidApertureMove("Current aperture/scatterguard state unrecognised")
|
|
178
174
|
|
|
175
|
+
async def _get_current_radius(self) -> float | None:
|
|
176
|
+
current_value = await self._get_current_aperture_position()
|
|
177
|
+
return self._loaded_positions[current_value].radius
|
|
178
|
+
|
|
179
179
|
async def _safe_move_within_datacollection_range(
|
|
180
180
|
self, position: AperturePosition, value: ApertureValue
|
|
181
181
|
):
|
|
@@ -203,8 +203,6 @@ class ApertureScatterguard(StandardReadable, Movable):
|
|
|
203
203
|
)
|
|
204
204
|
|
|
205
205
|
current_ap_y = await self.aperture.y.user_readback.get_value()
|
|
206
|
-
if position.radius is not None:
|
|
207
|
-
await self.radius.set(position.radius)
|
|
208
206
|
|
|
209
207
|
aperture_x, aperture_y, aperture_z, scatterguard_x, scatterguard_y = (
|
|
210
208
|
position.values
|
|
@@ -220,15 +218,14 @@ class ApertureScatterguard(StandardReadable, Movable):
|
|
|
220
218
|
self.aperture.y.set(aperture_y),
|
|
221
219
|
self.aperture.z.set(aperture_z),
|
|
222
220
|
)
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
221
|
+
else:
|
|
222
|
+
await asyncio.gather(
|
|
223
|
+
self.aperture.x.set(aperture_x),
|
|
224
|
+
self.aperture.y.set(aperture_y),
|
|
225
|
+
self.aperture.z.set(aperture_z),
|
|
226
|
+
)
|
|
229
227
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
await self.selected_aperture.set(value)
|
|
228
|
+
await asyncio.gather(
|
|
229
|
+
self.scatterguard.x.set(scatterguard_x),
|
|
230
|
+
self.scatterguard.y.set(scatterguard_y),
|
|
231
|
+
)
|
|
@@ -87,11 +87,12 @@ class MJPG(Device, ABC):
|
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
class SnapshotWithBeamCentre(MJPG):
|
|
90
|
-
"""A child of MJPG which, when triggered, draws
|
|
91
|
-
image and saves the image to disk."""
|
|
90
|
+
"""A child of MJPG which, when triggered, draws an outlined crosshair at the beam
|
|
91
|
+
centre in the image and saves the image to disk."""
|
|
92
92
|
|
|
93
93
|
CROSSHAIR_LENGTH_PX = 20
|
|
94
|
-
|
|
94
|
+
CROSSHAIR_OUTLINE_COLOUR = "Black"
|
|
95
|
+
CROSSHAIR_FILL_COLOUR = "White"
|
|
95
96
|
|
|
96
97
|
def post_processing(self, image: Image.Image):
|
|
97
98
|
assert (
|
|
@@ -100,15 +101,38 @@ class SnapshotWithBeamCentre(MJPG):
|
|
|
100
101
|
beam_x = self.oav_params.beam_centre_i
|
|
101
102
|
beam_y = self.oav_params.beam_centre_j
|
|
102
103
|
|
|
104
|
+
SnapshotWithBeamCentre.draw_crosshair(image, beam_x, beam_y)
|
|
105
|
+
|
|
106
|
+
self._save_image(image)
|
|
107
|
+
|
|
108
|
+
@classmethod
|
|
109
|
+
def draw_crosshair(cls, image: Image.Image, beam_x: int, beam_y: int):
|
|
103
110
|
draw = ImageDraw.Draw(image)
|
|
104
|
-
|
|
111
|
+
OUTLINE_WIDTH = 1
|
|
112
|
+
HALF_LEN = cls.CROSSHAIR_LENGTH_PX / 2
|
|
113
|
+
draw.rectangle(
|
|
114
|
+
[
|
|
115
|
+
beam_x - OUTLINE_WIDTH,
|
|
116
|
+
beam_y - HALF_LEN - OUTLINE_WIDTH,
|
|
117
|
+
beam_x + OUTLINE_WIDTH,
|
|
118
|
+
beam_y + HALF_LEN + OUTLINE_WIDTH,
|
|
119
|
+
],
|
|
120
|
+
fill=cls.CROSSHAIR_OUTLINE_COLOUR,
|
|
121
|
+
)
|
|
122
|
+
draw.rectangle(
|
|
123
|
+
[
|
|
124
|
+
beam_x - HALF_LEN - OUTLINE_WIDTH,
|
|
125
|
+
beam_y - OUTLINE_WIDTH,
|
|
126
|
+
beam_x + HALF_LEN + OUTLINE_WIDTH,
|
|
127
|
+
beam_y + OUTLINE_WIDTH,
|
|
128
|
+
],
|
|
129
|
+
fill=cls.CROSSHAIR_OUTLINE_COLOUR,
|
|
130
|
+
)
|
|
105
131
|
draw.line(
|
|
106
132
|
((beam_x, beam_y - HALF_LEN), (beam_x, beam_y + HALF_LEN)),
|
|
107
|
-
fill=
|
|
133
|
+
fill=cls.CROSSHAIR_FILL_COLOUR,
|
|
108
134
|
)
|
|
109
135
|
draw.line(
|
|
110
136
|
((beam_x - HALF_LEN, beam_y), (beam_x + HALF_LEN, beam_y)),
|
|
111
|
-
fill=
|
|
137
|
+
fill=cls.CROSSHAIR_FILL_COLOUR,
|
|
112
138
|
)
|
|
113
|
-
|
|
114
|
-
self._save_image(image)
|
|
@@ -3,6 +3,7 @@ from typing import Generic, TypeVar
|
|
|
3
3
|
|
|
4
4
|
import numpy as np
|
|
5
5
|
from bluesky.plan_stubs import mv
|
|
6
|
+
from bluesky.protocols import Flyable
|
|
6
7
|
from numpy import ndarray
|
|
7
8
|
from ophyd_async.core import (
|
|
8
9
|
AsyncStatus,
|
|
@@ -193,7 +194,7 @@ class ExpectedImages(SignalR[int]):
|
|
|
193
194
|
return first_grid + second_grid
|
|
194
195
|
|
|
195
196
|
|
|
196
|
-
class FastGridScanCommon(StandardReadable, ABC, Generic[ParamType]):
|
|
197
|
+
class FastGridScanCommon(StandardReadable, Flyable, ABC, Generic[ParamType]):
|
|
197
198
|
"""Device for a general fast grid scan
|
|
198
199
|
|
|
199
200
|
When the motion program is started, the goniometer will move in a snake-like grid trajectory,
|
|
@@ -76,7 +76,7 @@ class MirrorVoltageDevice(Device):
|
|
|
76
76
|
LOGGER.debug(f"{setpoint_v.name} already at {value} - skipping set")
|
|
77
77
|
return
|
|
78
78
|
|
|
79
|
-
LOGGER.debug(f"
|
|
79
|
+
LOGGER.debug(f"Setting {setpoint_v.name} to {value}")
|
|
80
80
|
|
|
81
81
|
# Register an observer up front to ensure we don't miss events after we
|
|
82
82
|
# perform the set
|
|
@@ -85,16 +85,14 @@ class MirrorVoltageDevice(Device):
|
|
|
85
85
|
)
|
|
86
86
|
# discard the current value (OK) so we can await a subsequent change
|
|
87
87
|
await anext(demand_accepted_iterator)
|
|
88
|
-
|
|
88
|
+
set_status = setpoint_v.set(value, wait=False)
|
|
89
89
|
|
|
90
90
|
# The set should always change to SLEW regardless of whether we are
|
|
91
91
|
# already at the set point, then change back to OK/FAIL depending on
|
|
92
92
|
# success
|
|
93
93
|
accepted_value = await anext(demand_accepted_iterator)
|
|
94
94
|
assert accepted_value == MirrorVoltageDemand.SLEW
|
|
95
|
-
LOGGER.debug(
|
|
96
|
-
f"Demand not accepted for {setpoint_v.name}, waiting for acceptance..."
|
|
97
|
-
)
|
|
95
|
+
LOGGER.debug(f"Waiting for {setpoint_v.name} to set")
|
|
98
96
|
while MirrorVoltageDemand.SLEW == (
|
|
99
97
|
accepted_value := await anext(demand_accepted_iterator)
|
|
100
98
|
):
|
|
@@ -104,6 +102,7 @@ class MirrorVoltageDevice(Device):
|
|
|
104
102
|
raise AssertionError(
|
|
105
103
|
f"Voltage slew failed for {setpoint_v.name}, new state={accepted_value}"
|
|
106
104
|
)
|
|
105
|
+
await set_status
|
|
107
106
|
|
|
108
107
|
|
|
109
108
|
class VFMMirrorVoltages(StandardReadable):
|