Hu Lingfei, Wang Hongchang, Sawhney Kawal
National Synchrotron Radiation Laboratory, University of Science and Technology of China, Hefei, Anhui 230029, People's Republic of China.
Diamond Light Source, Harwell Science and Innovation Campus, Didcot OX11 0DE, United Kingdom.
J Synchrotron Radiat. 2024 Sep 1;31(Pt 5):1037-1042. doi: 10.1107/S1600577524005861. Epub 2024 Jul 30.
In situ wavefront sensing plays a critical role in the delivery of high-quality beams for X-ray experiments. X-ray speckle-based techniques stand out among other in situ techniques for their easy experimental setup and various data acquisition modes. Although X-ray speckle-based techniques have been under development for more than a decade, there are still no user-friendly software packages for new researchers to begin with. Here, we present an open-source Python package, spexwavepy, for X-ray wavefront sensing using speckle-based techniques. This Python package covers a variety of X-ray speckle-based techniques, provides plenty of examples with real experimental data and offers detailed online documentation for users. We hope it can help new researchers learn and apply the speckle-based techniques for X-ray wavefront sensing to synchrotron radiation and X-ray free-electron laser beamlines.
原位波前传感在为X射线实验提供高质量光束方面起着关键作用。基于X射线散斑的技术在其他原位技术中脱颖而出,因其实验设置简便且具有多种数据采集模式。尽管基于X射线散斑的技术已经发展了十多年,但对于新研究人员来说,仍然没有用户友好的软件包可供入门使用。在此,我们展示了一个用于基于散斑技术的X射线波前传感的开源Python软件包spexwavepy。这个Python软件包涵盖了多种基于X射线散斑的技术,提供了大量带有真实实验数据的示例,并为用户提供了详细的在线文档。我们希望它能帮助新研究人员学习并将基于散斑的技术应用于X射线波前传感,应用于同步辐射和X射线自由电子激光束线。