A new Python middle layer framework: Particle Accelerator MIddle LAyer (PAMILA)
Abstract
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.
Fields of Study & Subjects
Particle accelerators and beam dynamics
Computational Physics and Python Applications
Particle Accelerators and Free-Electron Lasers
Publication details
- Journal / source
- JACOW
- Publication date
- 29 January 2026
- Language
- EN