| Literature DB >> 27504080 |
Liubov Samoylova1, Alexey Buzmakov2, Oleg Chubar3, Harald Sinn1.
Abstract
This article describes the WavePropaGator (WPG) package, a new interactive software framework for coherent and partially coherent X-ray wavefront propagation simulations. The package has been developed at European XFEL for users at the existing and emerging free-electron laser (FEL) facilities, as well as at the third-generation synchrotron sources and future diffraction-limited storage rings. The WPG addresses the needs of beamline scientists and user groups to facilitate the design, optimization and improvement of X-ray optics to meet their experimental requirements. The package uses the Synchrotron Radiation Workshop (SRW) C/C++ library and its Python binding for numerical wavefront propagation simulations. The framework runs reliably under Linux, Microsoft Windows 7 and Apple Mac OS X and is distributed under an open-source license. The available tools allow for varying source parameters and optics layouts and visualizing the results interactively. The wavefront history structure can be used for tracking changes in every particular wavefront during propagation. The batch propagation mode enables processing of multiple wavefronts in workflow mode. The paper presents a general description of the package and gives some recent application examples, including modeling of full X-ray FEL beamlines and start-to-end simulation of experiments.Entities:
Keywords: Fourier optics; X-ray free-electron lasers; XFELs; computer programs; data analysis and visualization; start-to-end simulations; wavefront propagation
Year: 2016 PMID: 27504080 PMCID: PMC4970499 DOI: 10.1107/S160057671600995X
Source DB: PubMed Journal: J Appl Crystallogr ISSN: 0021-8898 Impact factor: 3.304
Optical elements (propagators) available in the WPG
The parameters are shown in and the names of the propagators in italic.
| Optics | Propagator | Parameters | Comments |
|---|---|---|---|
| Free space |
|
| In most cases the semi-analytical propagation is recommended, see §3.1 |
| Slits, apertures |
|
| For a circular aperture only slit width is used as aperture diameter. |
| Grazing-incidence plane elliptical mirror |
|
| See §3.3 |
| Thin lens |
|
| Can be used to model sagittal bending in a plane elliptical mirror or to approximate focusing with a spherical mirror. |
| Mirror surface error |
|
| Phase screen approach is used to introduce wavefront distortions caused by residual surface height errors (Samoylova |
| Grazing-incidence VLS grating |
|
| See §3.3 |
| Crystal monochromator |
|
| |
| CRLs |
| Obligatory parameters: | See also §3.3 |
The propagator should be used together with the calculateOPD() function, see Fig. 3 ▸.
For 0, H and −H reciprocal lattice nodes for reflection H.
Figure 1General structure of the WPG framework.
Figure 2Workflow chart: a wavefront propagates through a beamline, which is set up as a container of propagators. Top: a simple ‘linear’ workflow for a regular beamline; bottom: beamline with two branches, e.g. XFEL split-and-delay lines.
Figure 3Example of a beamline definition: the SASE3 beamline at the European XFEL will include two horizontal offset mirrors (M1 and M2), a vertical focusing mirror M3, and horizontal and vertical clean-up slits.
Figure 4An example of three-dimensional wavefront visualization. For the SASE3 undulator with a defined maximum active segment length of 130 m, the simulated XFEL pulse data taken from the XPD (Manetti et al., 2016 ▸) are used: photon energy 800 eV, electron bunch charge 250 pC and electron energy 14 GeV. The top row corresponds to an untapered undulator and pulse energy 8 mJ, and the bottom row to an undulator with optimized tapering (Schneidmiller & Yurkov, 2016 ▸) and pulse energy 17 mJ. (a), (c) Vertical cuts of the pulse phase and intensity; (b), (d) slice-to-slice shift of the pulse center of mass. The slice times are color coded and the intensities are represented by the size of the circles.
Figure 5Intensity distribution around the sample position of the SCS instrument. Left panel (a), (c): the clean-up slits in the vertical and horizontal focus are fully open. Right panel (b), (d): both clean-up slits are closed to a gap of 50 µm. The cuts perpendicular to the optical axis in (c) and (d) correspond to −6, 0 and 6 mm positions around the focus.