Mamba: a systematic software solution for beamline experiments at HEPS
Yu Liu,Yan-Da Geng,Xiao-Xue Bi,Xiang Li,Ye Tao,Jian-She Cao,Yu-Hui Dong,Yi Zhang
DOI: https://doi.org/10.1107/S1600577522002697
IF: 2.557
2022-04-29
Journal of Synchrotron Radiation
Abstract:Mamba is a Bluesky‐based experiment‐control framework being developed for the High Energy Photon Source (HEPS); its frontend and backend collaborate through a remote‐procedure‐call service and, most importantly, command injection. Improvement of Bluesky's support for high‐frequency and high‐throughput applications is in progress, with Mamba Data Worker as a key component. Other plans, including an experiment parameter generator and Mamba GUI Studio, have also been discussed.To cater for the diverse experiment requirements at the High Energy Photon Source (HEPS) with often limited human resources, Bluesky was chosen as the basis for our software framework, Mamba. In our attempt to address Bluesky's lack of integrated graphical user interfaces (GUIs), command injection with feedback was chosen as the main way for the GUIs to cooperate with the command line interface; a remote‐procedure‐call service is also provided, which covers functionalities unsuitable for command injection, as well as pushing of status updates. In order to fully support high‐frequency applications like fly scans, Bluesky's support for asynchronous control is being improved; furthermore, to support high‐throughput experiments, Mamba Data Worker is being developed to cover the complexity in asynchronous online data processing for these experiments. To systematically simplify the specification of metadata, scan parameters and data‐processing graphs for each type of experiment, an experiment parameter generator will be developed; experiment‐specific modules to automate preparation steps will also be made. The integration of off‐the‐shelf code in Mamba for domain‐specific needs is under investigation, and Mamba GUI Studio is being developed to simplify the implementation and integration of GUIs.
optics,physics, applied,instruments & instrumentation