{"title":"在Sonix+软件包中改进实验控制","authors":"A. S. Kirilov, L. A. Truntova","doi":"10.1134/S1547477123040362","DOIUrl":null,"url":null,"abstract":"<p>This study is aimed at improving the Sonix+ software package on the measuring setups of the IBR‑2 reactor to minimize the measurement time losses when mathematical operations (summation of matrices, construction of spectral intensity distributions on the basis of data from a list of events, etc.) are incorporated immediately into the procedure of experiment in Python (script). For this purpose, the execution of all similar operations was separated from the main script into one or several background scripts. To provide the execution of background scripts, a special class of devices was added to the package structure. In addition, the mechanism of checkpoints applied earlier to connect the user interface with the script was replaced by a new one based on Python decorators and context managers. This significantly simplified the script, increased its reliability, and reduced the time of its development or modification. The new package version was tested in October 2021 on the NERA spectrometer. In the nearest future, it is planned to prepare similar versions for all the other instruments. This study was carried out at the Frank Laboratory of Neutron Physics of the Joint Institute for Nuclear Research.</p>","PeriodicalId":730,"journal":{"name":"Physics of Particles and Nuclei Letters","volume":"20 4","pages":"668 - 674"},"PeriodicalIF":0.4000,"publicationDate":"2023-08-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Improving Experiment Control in the Sonix+ Software Package\",\"authors\":\"A. S. Kirilov, L. A. Truntova\",\"doi\":\"10.1134/S1547477123040362\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>This study is aimed at improving the Sonix+ software package on the measuring setups of the IBR‑2 reactor to minimize the measurement time losses when mathematical operations (summation of matrices, construction of spectral intensity distributions on the basis of data from a list of events, etc.) are incorporated immediately into the procedure of experiment in Python (script). For this purpose, the execution of all similar operations was separated from the main script into one or several background scripts. To provide the execution of background scripts, a special class of devices was added to the package structure. In addition, the mechanism of checkpoints applied earlier to connect the user interface with the script was replaced by a new one based on Python decorators and context managers. This significantly simplified the script, increased its reliability, and reduced the time of its development or modification. The new package version was tested in October 2021 on the NERA spectrometer. In the nearest future, it is planned to prepare similar versions for all the other instruments. This study was carried out at the Frank Laboratory of Neutron Physics of the Joint Institute for Nuclear Research.</p>\",\"PeriodicalId\":730,\"journal\":{\"name\":\"Physics of Particles and Nuclei Letters\",\"volume\":\"20 4\",\"pages\":\"668 - 674\"},\"PeriodicalIF\":0.4000,\"publicationDate\":\"2023-08-08\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Physics of Particles and Nuclei Letters\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://link.springer.com/article/10.1134/S1547477123040362\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"PHYSICS, PARTICLES & FIELDS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Physics of Particles and Nuclei Letters","FirstCategoryId":"1085","ListUrlMain":"https://link.springer.com/article/10.1134/S1547477123040362","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"PHYSICS, PARTICLES & FIELDS","Score":null,"Total":0}
Improving Experiment Control in the Sonix+ Software Package
This study is aimed at improving the Sonix+ software package on the measuring setups of the IBR‑2 reactor to minimize the measurement time losses when mathematical operations (summation of matrices, construction of spectral intensity distributions on the basis of data from a list of events, etc.) are incorporated immediately into the procedure of experiment in Python (script). For this purpose, the execution of all similar operations was separated from the main script into one or several background scripts. To provide the execution of background scripts, a special class of devices was added to the package structure. In addition, the mechanism of checkpoints applied earlier to connect the user interface with the script was replaced by a new one based on Python decorators and context managers. This significantly simplified the script, increased its reliability, and reduced the time of its development or modification. The new package version was tested in October 2021 on the NERA spectrometer. In the nearest future, it is planned to prepare similar versions for all the other instruments. This study was carried out at the Frank Laboratory of Neutron Physics of the Joint Institute for Nuclear Research.
期刊介绍:
The journal Physics of Particles and Nuclei Letters, brief name Particles and Nuclei Letters, publishes the articles with results of the original theoretical, experimental, scientific-technical, methodological and applied research. Subject matter of articles covers: theoretical physics, elementary particle physics, relativistic nuclear physics, nuclear physics and related problems in other branches of physics, neutron physics, condensed matter physics, physics and engineering at low temperatures, physics and engineering of accelerators, physical experimental instruments and methods, physical computation experiments, applied research in these branches of physics and radiology, ecology and nuclear medicine.