Yu Liu, Yan Da Geng, Xiao Xue Bi, Xiang Li, Ye Tao, Jian She Cao, Yu Hui Dong, Yi Zhang
{"title":"Mamba:HEPS光束线实验的系统软件解决方案","authors":"Yu Liu, Yan Da Geng, Xiao Xue Bi, Xiang Li, Ye Tao, Jian She Cao, Yu Hui Dong, Yi Zhang","doi":"10.1107/S1600577522002697","DOIUrl":null,"url":null,"abstract":"<p><p>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.</p>","PeriodicalId":17114,"journal":{"name":"Journal of Synchrotron Radiation","volume":"29 1","pages":"664-669"},"PeriodicalIF":2.4000,"publicationDate":"2022-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9070726/pdf/","citationCount":"0","resultStr":"{\"title\":\"Mamba: a systematic software solution for beamline experiments at HEPS.\",\"authors\":\"Yu Liu, Yan Da Geng, Xiao Xue Bi, Xiang Li, Ye Tao, Jian She Cao, Yu Hui Dong, Yi Zhang\",\"doi\":\"10.1107/S1600577522002697\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p>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.</p>\",\"PeriodicalId\":17114,\"journal\":{\"name\":\"Journal of Synchrotron Radiation\",\"volume\":\"29 1\",\"pages\":\"664-669\"},\"PeriodicalIF\":2.4000,\"publicationDate\":\"2022-05-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9070726/pdf/\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Synchrotron Radiation\",\"FirstCategoryId\":\"101\",\"ListUrlMain\":\"https://doi.org/10.1107/S1600577522002697\",\"RegionNum\":3,\"RegionCategory\":\"物理与天体物理\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"2022/4/5 0:00:00\",\"PubModel\":\"Epub\",\"JCR\":\"Q2\",\"JCRName\":\"INSTRUMENTS & INSTRUMENTATION\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Synchrotron Radiation","FirstCategoryId":"101","ListUrlMain":"https://doi.org/10.1107/S1600577522002697","RegionNum":3,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2022/4/5 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"INSTRUMENTS & INSTRUMENTATION","Score":null,"Total":0}
引用次数: 0
摘要
Mamba是一个基于蓝天的实验控制框架,正在为高能光子源(HEPS)开发;它的前端和后端通过远程过程调用服务进行协作,最重要的是,通过命令注入进行协作。Bluesky对高频和高通量应用程序的支持正在改进中,Mamba Data Worker是一个关键组件。还讨论了其他计划,包括实验参数生成器和Mamba GUI Studio。
Mamba: a systematic software solution for beamline experiments at HEPS.
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.
期刊介绍:
Synchrotron radiation research is rapidly expanding with many new sources of radiation being created globally. Synchrotron radiation plays a leading role in pure science and in emerging technologies. The Journal of Synchrotron Radiation provides comprehensive coverage of the entire field of synchrotron radiation and free-electron laser research including instrumentation, theory, computing and scientific applications in areas such as biology, nanoscience and materials science. Rapid publication ensures an up-to-date information resource for scientists and engineers in the field.