MATLAB Middle Layer (MML) for accelerator control has been used by many facilities worldwide over the years. With the rise of Python's popularity, particularly for leveraging its advanced artificial intelligence and machine learning libraries, an international collaboration is underway to develop a similar software framework in Python. As part of this effort, we propose a new Python middle layer package, which is built on top of the pint unit-conversion package, and capable of handling any type of device-dependent unit conversion (including multiple-input multiple-output) for magnets and other equipment. This package is also compatible with a suite of modern experimental orchestration and data management tools widely used by beamlines at many light sources (i.e., bluesky, ophyd, and tiled),and provides a more modular approach for implementing high-level applications, facilitating re-use, while exposing comprehensive, yet manageable, options to end users.
Hidaka et al. (Thu,) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: