A versatile framework for attitude tuning of beamlines at light source facilities
Aside from regular beamline experiments at light sources, the preparation steps before these experiments are also worthy of systematic consideration in terms of automation; a representative category in these steps is attitude tuning, which typically appears in contexts like beam focusing, sample ali...
Saved in:
| Main Authors: | , , , , , , , , , |
|---|---|
| Format: | Article |
| Language: | English |
| Published: |
International Union of Crystallography
2025-07-01
|
| Series: | Journal of Synchrotron Radiation |
| Subjects: | |
| Online Access: | https://journals.iucr.org/paper?S1600577525003960 |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| _version_ | 1849416355272458240 |
|---|---|
| author | Peng-Cheng Li Xiao-Xue Bi Zhen Zhang Xiao-Bao Deng Chun Li Li-Wen Wang Gong-Fa Liu Yi Zhang Ai-Yu Zhou Yu Liu |
| author_facet | Peng-Cheng Li Xiao-Xue Bi Zhen Zhang Xiao-Bao Deng Chun Li Li-Wen Wang Gong-Fa Liu Yi Zhang Ai-Yu Zhou Yu Liu |
| author_sort | Peng-Cheng Li |
| collection | DOAJ |
| description | Aside from regular beamline experiments at light sources, the preparation steps before these experiments are also worthy of systematic consideration in terms of automation; a representative category in these steps is attitude tuning, which typically appears in contexts like beam focusing, sample alignment etc. With the goal of saving time and human effort in both writing and using such code, a Mamba-based attitude-tuning framework is created. It supports flexible input/output ports, easy integration of diverse evaluation functions and free selection of optimization algorithms. With the help of Mamba's infrastructure, machine learning (ML) and artificial intelligence (AI) technologies can also be readily integrated. The tuning of a polycapillary lens and of an X-ray emission spectrometer are given as examples for the general use of this framework, featuring powerful command-line interfaces (CLIs) and friendly graphical user interfaces (GUIs) that allow comfortable human-in-the-loop control. The tuning of a Raman spectrometer demonstrates more specialized use of the framework with customized optimization algorithms. With similar applications in mind, this framework is estimated to be capable of fulfilling most attitude-tuning needs. Also reported is a virtual-beamline mechanism based on easily customisable simulated detectors and motors, which facilitates both testing for developers and training for users, as well as the encapsulation of digital twins. |
| format | Article |
| id | doaj-art-c779b6c138c54c7bbcc41419a6bced14 |
| institution | Kabale University |
| issn | 1600-5775 |
| language | English |
| publishDate | 2025-07-01 |
| publisher | International Union of Crystallography |
| record_format | Article |
| series | Journal of Synchrotron Radiation |
| spelling | doaj-art-c779b6c138c54c7bbcc41419a6bced142025-08-20T03:33:13ZengInternational Union of CrystallographyJournal of Synchrotron Radiation1600-57752025-07-0132492493310.1107/S1600577525003960yn5119A versatile framework for attitude tuning of beamlines at light source facilitiesPeng-Cheng Li0Xiao-Xue Bi1Zhen Zhang2Xiao-Bao Deng3Chun Li4Li-Wen Wang5Gong-Fa Liu6Yi Zhang7Ai-Yu Zhou8Yu Liu9National Synchrotron Radiation Laboratory, University of Science and Technology of China, Hefei, Anhui 230029, People's Republic of ChinaInstitute of High Energy Physics, Chinese Academy of Sciences, Beijing 100049, People's Republic of ChinaNational Synchrotron Radiation Laboratory, University of Science and Technology of China, Hefei, Anhui 230029, People's Republic of ChinaInstitute of High Energy Physics, Chinese Academy of Sciences, Beijing 100049, People's Republic of ChinaInstitute of High Energy Physics, Chinese Academy of Sciences, Beijing 100049, People's Republic of ChinaInstitute of High Energy Physics, Chinese Academy of Sciences, Beijing 100049, People's Republic of ChinaNational Synchrotron Radiation Laboratory, University of Science and Technology of China, Hefei, Anhui 230029, People's Republic of ChinaInstitute of High Energy Physics, Chinese Academy of Sciences, Beijing 100049, People's Republic of ChinaInstitute of High Energy Physics, Chinese Academy of Sciences, Beijing 100049, People's Republic of ChinaInstitute of High Energy Physics, Chinese Academy of Sciences, Beijing 100049, People's Republic of ChinaAside from regular beamline experiments at light sources, the preparation steps before these experiments are also worthy of systematic consideration in terms of automation; a representative category in these steps is attitude tuning, which typically appears in contexts like beam focusing, sample alignment etc. With the goal of saving time and human effort in both writing and using such code, a Mamba-based attitude-tuning framework is created. It supports flexible input/output ports, easy integration of diverse evaluation functions and free selection of optimization algorithms. With the help of Mamba's infrastructure, machine learning (ML) and artificial intelligence (AI) technologies can also be readily integrated. The tuning of a polycapillary lens and of an X-ray emission spectrometer are given as examples for the general use of this framework, featuring powerful command-line interfaces (CLIs) and friendly graphical user interfaces (GUIs) that allow comfortable human-in-the-loop control. The tuning of a Raman spectrometer demonstrates more specialized use of the framework with customized optimization algorithms. With similar applications in mind, this framework is estimated to be capable of fulfilling most attitude-tuning needs. Also reported is a virtual-beamline mechanism based on easily customisable simulated detectors and motors, which facilitates both testing for developers and training for users, as well as the encapsulation of digital twins.https://journals.iucr.org/paper?S1600577525003960beam focusingsample alignmentmambavirtual beamlinessoftware architecture |
| spellingShingle | Peng-Cheng Li Xiao-Xue Bi Zhen Zhang Xiao-Bao Deng Chun Li Li-Wen Wang Gong-Fa Liu Yi Zhang Ai-Yu Zhou Yu Liu A versatile framework for attitude tuning of beamlines at light source facilities Journal of Synchrotron Radiation beam focusing sample alignment mamba virtual beamlines software architecture |
| title | A versatile framework for attitude tuning of beamlines at light source facilities |
| title_full | A versatile framework for attitude tuning of beamlines at light source facilities |
| title_fullStr | A versatile framework for attitude tuning of beamlines at light source facilities |
| title_full_unstemmed | A versatile framework for attitude tuning of beamlines at light source facilities |
| title_short | A versatile framework for attitude tuning of beamlines at light source facilities |
| title_sort | versatile framework for attitude tuning of beamlines at light source facilities |
| topic | beam focusing sample alignment mamba virtual beamlines software architecture |
| url | https://journals.iucr.org/paper?S1600577525003960 |
| work_keys_str_mv | AT pengchengli aversatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT xiaoxuebi aversatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT zhenzhang aversatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT xiaobaodeng aversatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT chunli aversatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT liwenwang aversatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT gongfaliu aversatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT yizhang aversatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT aiyuzhou aversatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT yuliu aversatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT pengchengli versatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT xiaoxuebi versatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT zhenzhang versatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT xiaobaodeng versatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT chunli versatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT liwenwang versatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT gongfaliu versatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT yizhang versatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT aiyuzhou versatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities AT yuliu versatileframeworkforattitudetuningofbeamlinesatlightsourcefacilities |