A new Python middle layer framework: Particle Accelerator MIddle LAyer (PAMILA)

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.

Authors

Publication Details

Journal
JACOW
Published
2026-01-29
DOI
https://doi.org/10.18429/jacow-napac2025-mop005
Primary Topic
Particle Accelerators and Free-Electron Lasers
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A new Python middle layer framework: Particle Accelerator MIddle LAyer (PAMILA)

Max Rakitin, Daniel Allan, Yoshiteru Hidaka
JACOW
Particle Accelerators and Free-Electron Lasers
article

A new Python middle layer framework: Particle Accelerator MIddle LAyer (PAMILA)

Max Rakitin, Daniel Allan, Yoshiteru Hidaka
article en

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.

JACOW
Partnerships for the goals
Openalex Percentile: Top 73%
Particle Accelerators and Free-Electron Lasers
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.