Rakitin Maksim S, Moeller Paul, Nagler Robert, Nash Boaz, Bruhwiler David L, Smalyuk Dmitry, Zhernenkov Mikhail, Chubar Oleg
NSLS-II, Brookhaven National Laboratory, Upton, NY, USA.
RadiaSoft LLC, Boulder, CO, USA.
J Synchrotron Radiat. 2018 Nov 1;25(Pt 6):1877-1892. doi: 10.1107/S1600577518010986. Epub 2018 Oct 19.
Sirepo, a browser-based GUI for X-ray source and optics simulations, is presented. Such calculations can be performed using SRW (Synchrotron Radiation Workshop), which is a physical optics computer code, allowing simulation of entire experimental beamlines using the concept of a `virtual beamline' with accurate treatment of synchrotron radiation generation and propagation through the X-ray optical system. SRW is interfaced with Sirepo by means of a Python application programming interface. Sirepo supports most of the optical elements currently used at beamlines, including recent developments in SRW. In particular, support is provided for the simulation of state-of-the-art X-ray beamlines, exploiting the high coherence and brightness of modern light source facilities. New scientific visualization and reporting capabilities have been recently implemented within Sirepo, as well as automatic determination of electron beam and undulator parameters. Publicly available community databases can be dynamically queried for error-free access to material characteristics. These computational tools can be used for the development and commissioning of new X-ray beamlines and for testing feasibility and optimization of experiments. The same interface can guide simulation on a local computer, a remote server or a high-performance cluster. Sirepo is available online and also within the NSLS-II firewall, with a growing number of users at other light source facilities. Our open source code is available on GitHub.
本文介绍了Sirepo,一种用于X射线源和光学模拟的基于浏览器的图形用户界面。此类计算可使用SRW(同步辐射工作室)进行,SRW是一种物理光学计算机代码,它允许使用“虚拟光束线”的概念对整个实验光束线进行模拟,并能精确处理同步辐射在X射线光学系统中的产生和传播。SRW通过Python应用程序编程接口与Sirepo连接。Sirepo支持目前光束线上使用的大多数光学元件,包括SRW的最新进展。特别是,它支持对先进的X射线光束线进行模拟,利用现代光源设施的高相干性和高亮度。最近Sirepo中实现了新的科学可视化和报告功能,以及电子束和波荡器参数的自动确定。可以动态查询公开可用的社区数据库,以便无错误地获取材料特性。这些计算工具可用于新X射线光束线的开发和调试,以及测试实验的可行性和进行优化。相同的界面可在本地计算机、远程服务器或高性能集群上指导模拟。Sirepo可在线获取,也可在NSLS-II防火墙内获取,在其他光源设施中的用户数量也在不断增加。我们的开源代码可在GitHub上获取。