Abstract
Transverse deflecting structures (TDSs) are widely used in accelerator physics to measure the longitudinal density of particle bunches. When used in combination with a dispersive section, the whole longitudinal phase space density can be imaged. At the Linac Coherent Light Source (LCLS), the installation of such a device downstream of the undulators enables the reconstruction of the X-ray temporal intensity profile by comparing longitudinal phase space distributions with lasing on and lasing off. However, the resolution of this TDS is limited to around 1 fs rms (root mean square), and therefore, it is not possible to resolve single self-amplified spontaneous emission (SASE) spikes within an X-ray photon pulse. By combining the power spectrum from a high resolution photon spectrometer and the temporal structure from the TDS, the overall resolution is enhanced, thus allowing the observation of temporal, single SASE spikes. The combined data from the spectrometer and the TDS is analysed using an iterative algorithm to obtain the actual intensity profile. In this paper, we present some improvements to the reconstruction algorithm as well as real data taken at LCLS.
Subject terms: X-rays, Ultrafast photonics, Free-electron lasers
Introduction
Transverse deflecting structures (TDSs) are used to time-resolve the electron bunch phase spaces downstream of an X-ray free-electron laser (FEL) undulator line to measure the electron bunch energy losses induced by the lasing process1. The electron bunch time-resolved losses match the emitted X-ray temporal profile2, and therefore TDSs are routinely used as diagnostics to measure the X-ray pulse profiles1. However, the limited resolution of a measurement using a TDS imposes an upper limit on the resolution of the temporal reconstruction of photon pulses. As the resolution of an X-band TDS used at an X-ray FEL is typically limited to around 1 fs rms (root mean square), single self-amplified spontaneous emission (SASE) spikes, typically in the range of 0.1 fs to 3 fs, within one photon pulse can often not be resolved. However, the exact knowledge of the temporal structure of SASE radiation is interesting for applications such as “ghost imaging”3.
By combining the power spectrum from a high resolution photon spectrometer4 and the temporal structure from the TDS, the overall resolution can be enhanced, thus allowing the observation of temporal, single SASE spikes in the X-ray range. The combined data from the spectrometer and the TDS is analysed using an iterative algorithm to obtain an estimate of the actual intensity profile. This iterative reconstruction algorithm is published in previous work5,6.
A schematic of the measurement layout at the Linac Coherent Light Source (LCLS) is shown in Fig. 1.
In the following, we will discuss some improvements and adjustments to this iterative reconstruction algorithm that are necessary to analyse real data due to the spectrometer resolution of 0.2 eV during the measurements.
Adjustments to iterative reconstruction algorithm
The iterative reconstruction algorithm is described in detail in previous work5,6. The blurred temporal profile measured by a TDS and the blurred power spectrum measured by a spectrometer are the measured data used by the reconstruction algorithm to retrieve the actual pulse profile. The mechanism by which the finite TDS resolution blurs the actual temporal intensity profile P(t) is modelled by a convolution with a Gaussian G(t) of fixed standard deviation Rt
1 |
In contrary to the first publication of the algorithm5, in this paper we assume that also the power spectrum measured by the spectrometer has a limited resolution Rω. This process is also modelled by a convolution with a Gaussian G(ω) of width Rω
2 |
The blurred temporal profile and the blurred power spectrum are the starting points for the algorithm.
Linearly chirped base functions
The electric field of the photon pulse to be approximated is modelled as a sum of in principle arbitrary base functions Bj(t) in time with varying complex coefficients aj,m, where m is the iteration step,
3 |
as is the field in the frequency domain
4 |
where are the base functions in the frequency domain. We note here, that the base functions are chosen in a range, where we expect the temporal and the spectral distributions of the photon pulse to be non-zero due to prior information on the photon emission process from FEL theory7,8.
The Gaussian base functions described in the previous work5 are not chirped in time as suggested by the literature9–11. To accommodate this we introduce an arbitrary linear chirp factor βj to the base functions
5 |
where σj is the width of the Gaussians centred at times tj, and the ωj can be initially calculated based on the energy profile of the electron phase space. For a linearly chirped electron bunch, we can for example set 12, where ω0 is the main radiation frequency created by electrons with an energy of γ0 and γj is the mean energy of the electrons around tj. Otherwise, they are initialized as ωj = ω0.
These base functions are chosen in a way that
6 |
By setting , Eq. (5) becomes
7 |
and we obtain the base functions in frequency domain
8 |
Following the literature10,11 we set for all base functions.
The iteration process and the minimizing is described in detail in the previous work5. The only change applied to the algorithm is that instead of the actual power spectrum the blurred power spectrum is used for the projected spectrum for the real data taken at LCLS.
Testing of the algorithm using a blurred power spectrum
Similar to the prior publication5 the algorithm is tested using simulation data of LCLS at 1.5 nm with a blurred power spectrum using a resolution of Rω = 0.2 eV rms. This value was chosen to match the resolution of the spectrometer used for measurements at LCLS. Therefore, the same tests as in the previous work5 are conducted and showcased in the following using a blurred power spectrum with Rω = 0.2 eV. FEL simulations10 for bunch charges of 20 pC, 40 pC, and 150 pC are again used for the testing.
Every reconstruction result is obtained by averaging 50 individual reconstructions, where different random coefficients aj,0 are used to construct the initial base functions. Individual results for bunch charges of 20 pC to 150 pC are shown in Fig. 2. The actual intensity profile P(t) is plotted using a blue line, the blurred intensity profile is plotted using a red line. The TDS resolution is Rt = 1 fs in these figures. The reconstruction result , which is the mean of the 50 individual reconstructions, is plotted using a black line surrounded by a light gray shaded area that is one standard deviation. The error shown here is the error stemming from the statistics in the inversion process. Not all the reconstructions arrive at the same results for the individual aj,m, since multiple temporal and spectral profiles may lead to the same blurred profile13. Nonetheless, to obtain a measure for the goodness of the reconstruction the 1 − R2 value known from statistics is used5,14,15
9 |
where is the mean value of P(t). This value can of course only be given for simulations as the exact correct result is then known. If the agreement between the reconstruction result and the actual intensity profile P(t) is perfect, the 1 − R2 value is zero. As can be observed, the reconstruction algorithm is still able to retrieve the actual intensity profile very similar to the cases without spectral blurring shown in previous work5. The 1 − R2 values are all in the same region as in5 and also the capabilities and limitations of the algorithm remain the same as before. We therefore conclude that even though an uncertainty due to signal processing remains13, the algorithm enables an improvement of the temporal X-ray reconstruction of FEL pulses.
Additionally to the temporal profiles, the result of the spectrum reconstruction for the 20 pC bunch is displayed in Fig. 2d. In this case, the actual power spectrum is plotted using a blue line, the blurred power spectrum is plotted using a red line. The spectrometer resolution is Rω = 0.2 eV in these figures. The reconstruction result , which is the mean of the 50 individual reconstructions, is plotted using a black line surrounded by a light gray shaded area that is one standard deviation. Nearly all reconstructions arrive at the same power spectrum, therefore the black and the blue line coincide and the light gray shaded area is hardly visible.
Figure 3 shows the 1 − R2 values for the 50 different shots with a charge of 40 pC. Comparing to the prior publication5 it can be seen, that for every shot the 1 − R2 value is in the same order for the perfect and the blurred spectrum, respectively. It can therefore be concluded, that the algorithm performs equally well for both spectral measurements.
In summary, the testing results show that the algorithm excels at reconstructing single, isolated spikes and struggles to resolve multiple, dense spikes individually. The existence of adjoining spikes of similar height is retrieved, although the peak power cannot always be correctly determined.
Iterative reconstruction algorithm applied to measurement data taken at LCLS
A dedicated machine development shift recorded data to be analysed using the iterative reconstruction.
The measurements were taken at a beam energy of 4 GeV resulting in a wavelength of ~1.7 nm or a photon energy of ~730 eV. The initial charge at the cathode was 40 pC, which is later collimated to either 20 pC or 30 pC prior to the undulator. Using energy collimators in the first bunch compressors, electrons with high energy deviations from the reference energy were truncated16. An overview of the parameters for the measurements shown in the following can be found in Table 1.
Table 1.
Charge at undulator | 30 pC | 20 pC |
---|---|---|
Bunch length σt | 5 fs | 3 fs |
Peak current Ie | 2.2 kA | 2.5 kA |
TDS deflecting voltage V | 80 MV | 80 MV |
Temporal resolution Rt | 1.2 fs | 1.0 fs |
Spectral resolution Rω | 0.2 eV | 0.2 eV |
As the reconstruction has to be performed using bunches that are not yet saturated or close to the saturation point17, a gain curve was recorded, see Fig. 4. For this reason the beam was kicked behind the 20th undulator (at z = 67 m) to suppress lasing in the downstream undulators. The orbit kick both disrupts overlap between the x-ray waves and electron bunch and degrades electron bunching, interrupting the lasing process18. The chosen configuration provided sufficient signal for the spectrometer to work and fulfilled the requirement of being close to the saturation point so that a meaningful reconstruction of the photon pulse power from the energy loss and the energy spread increase of the electron bunch can be performed17. The orbit downstream of the undulator section was restored stable by using a closed three-bump18–20.
To obtain the photon pulse power the longitudinal phase space density of an electron bunch producing light (lasing on) has to be compared to one where the lasing process is suppressed (lasing off). The longitudinal phase space densities are then divided into slices along the time dimension to get the time-dependent beam parameters such as the mean energy Eon,off(ti), the energy spread , and the current I(ti) in each time slice ti1,17. The subscript denotes, whether the quantity was taken from a measurement with lasing on or lasing off. The influence of the FEL process on the bunch current is negligible, therefore, this quantity does not have a subscript. For each time slice, the energy loss and the energy spread increase comparing the lasing-on and lasing-off measurement is then calculated
10 |
11 |
From these quantities the radiation power in each slice can be determined. When using the energy loss method, the radiation power in each slice is1,2,17
12 |
When using the energy spread method, the radiation power in each slice is1,17,21
13 |
To determine the total radiation power an additional, independent measurement of the total pulse energy is necessary. This can for example be accomplished using a calibrated gas detector22–24.
To see if the algorithm reconstructs the photon pulse correctly both the power profile obtained from the energy loss and the energy spread method are used as target power profiles for the reconstruction algorithm. By then comparing the reconstructed temporal power profiles one can observe the similarities and differences to check if even though the inputs might be slightly different the algorithm ends up with the same temporal power profile.
In the following, the photon pulses obtained from the reconstruction using only the TDS and the corresponding reconstruction methods are displayed as dashed-dotted lines. The reconstructions using the energy loss method are plotted in black and those using the energy spread method are plotted in blue. 50 different initial guesses serve as starting points for the reconstruction algorithm. These 50 reconstructions are averaged to obtain the final reconstructed photon pulses (solid lines). The mean reconstruction is surrounded by a dark gray and a light gray shaded area which is one standard deviation for the energy loss and the energy spread method, respectively. For the reconstruction the width of the Gaussian base functions σj was chosen to be 0.1 fs as well as their spacing .
Reconstruction of photon pulses from bunches with 30 pC charge
We first apply the reconstruction algorithm the experimental data with a charge of 30 pC at the undulator entrance. The parameter overview can be found in the left column of Table 1.
Examples of reconstructed photon pulses can be found in Fig. 5, demonstrating the capabilities and the limitations of the algorithm when applied to measured data. As can be seen in these figures, the photon pulse obtained from the energy loss and the energy spread method differ slightly.
For the power profiles in Fig. 5a the position of most of the larger SASE spikes is the same for both reconstructions. The maximum power of the highest spike is ~1.36 times higher if the energy spread method is used as the target profile. This is because the power obtained from the TDS reconstruction at the position of the spike is ~1.30 times higher if the energy spread method is used. The smaller SASE spikes agree very well in position and also in height. The reconstruction works well, as the main SASE spikes are separated, which according to the testing using simulations facilitates the reconstruction for the algorithm.
The position and height of most of the main SASE spikes is also very similar for both target profiles shown in Fig. 5b. The maximum power of the main spike differs by less than 7%. There is a slight difference in the reconstruction on the left side of the main spike. Here, multiple spikes are very close to one another and the reconstruction algorithm reaches its limitations providing slightly different results for the two target profiles. It can be observed that the power profile contains two spikes between 2 fs and 4.5 fs and three between 4.5 fs and 8 fs. The position can be reconstructed, yet the exact maximum power for each single spike remains unknown. The isolated spikes in the region of 10 fs and 20 fs can be retrieved efficiently by the algorithm.
Figure 5c shows a reconstruction where the algorithm reaches the limitations for reconstructing the main features of the photon pulse. These limitations were noted in the testing section. In the central part of the photon pulse (between 6 fs and 10 fs) the SASE spikes are too close to one another to be retrieved by the algorithm. Nonetheless, the smaller, isolated side peaks to the left and right of the central part are retrieved adequately by the algorithm.
Reconstruction of photon pulses from bunches with 20 pC charge
Secondly, bunches with a charge of 20 pC at the undulator entrance are used for the reconstruction. The settings are the same as in the previous section, but the bunches are truncated even further using energy collimators in the first bunch compressor. The resulting parameters can be found in the right column of Table 1.
Figure 6 shows examples of reconstructed photon pulses for these settings demonstrating the capabilities and the limitations of the algorithm when applied to measured data.
The reconstruction found in Fig. 6a shows a dominant spike at the beginning of the photon pulse. Both methods reconstruct the spike at 2 fs but with a different maximum power. With the energy difference method the power is ~1.35 times higher, in good agreement with the blurred power, which is ~1.34 times higher. The rest of the photon pulse consists of smaller, dense spikes which can only partly be retrieved by the algorithm. In the region between 8 fs and 10 fs the photon pulse power reconstructed using the energy difference method is close to zero. As a result the algorithm does not reconstruct any power in that region. On the contrary, the energy spread method yields power in this region which results in the reconstruction algorithm showing spikes here. Hence, the difference in the reconstruction is not caused by instability in the algorithm, but rather by the difference in the two TDS analysis methods.
The second example for this setting can be found in Fig. 6b. The main spikes between 6 fs and 8 fs and 4 fs and 6 fs of the photon pulse are retrieved using both methods as starting points. The small spike between 2 fs and 3 fs of the photon pulse is higher if the energy spread method is used, as the photon pulse power reconstructed using this method is also higher. Several adjacent spikes in the region of 8 fs to 10 fs cannot be clearly distinguished by the reconstruction algorithm. Additionally, the power obtained by the energy difference method is higher in this region, leading to a higher power retrieved by the algorithm.
An example where the iterative algorithm did not reconstruct successfully can be found in Fig. 6c. Here, the central part of the photon pulse comprises many adjacent SASE spikes that cannot be distinguished by the algorithm. This is expected since the initial reconstruction using the two methods differs in the region of 7 fs to 11 fs both in height and shape and thus, the algorithm ends up with different solutions in this region.
Conclusions
In this paper, the reconstruction algorithm previously published5 was improved and applied to real measurement data taken at LCLS.
The results show how the reconstruction algorithm using both TDS and spectral information can improve the X-ray pulse profile reconstruction over the established method using only the TDS measurement. The reconstruction accuracy is currently limited by the achievable resolution of the TDS implemented at LCLS. For future upgrades an even better accuracy can be expected. The algorithm excels at reconstructing single, isolated spikes. Multiple, adjacent spikes of similar height are more difficult to be retrieved individually.
Acknowledgements
This work was supported by the U.S. Department of Energy (DOE) under Contract No. DE-AC02-76SF00515.
Author contributions
A.A.L. conceived the algorithm. A.A.L., V.A.J., and F.C. programmed the algorithm and tested it on simulation data, with inputs from Z.H., D.R., and T.J.M. during development. F.C., Y.D., J.K., T.J.M., and D.R. performed the measurement. F.C. and T.J.M. analysed the measurement data. F.C. wrote the manuscript in consultation with A.A.L., T.J.M., D.R., J.R.-S., and M.V.
Code availability
The algorithm and datasets generated during and/or analysed during the current study are available from the corresponding author on reasonable request.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Behrens C, et al. Few-femtosecond time-resolved measurements of X-ray free-electron lasers. Nature Communications. 2014;5:3762. doi: 10.1038/ncomms4762. [DOI] [PubMed] [Google Scholar]
- 2.Ding Y, et al. Femtosecond x-ray pulse temporal characterization in free-electron lasers using a transverse deflector. Phys. Rev. ST Accel. Beams. 2011;14:120701. doi: 10.1103/PhysRevSTAB.14.120701. [DOI] [Google Scholar]
- 3.Ratner D, Cryan JP, Lane TJ, Li S, Stupakov G. Pump-Probe Ghost Imaging with SASE FELs. Phys. Rev. X. 2019;9:011045. doi: 10.1103/PhysRevX.9.011045. [DOI] [Google Scholar]
- 4.Zhu D, et al. A single-shot transmissive spectrometer for hard x-ray free electron lasers. Applied Physics Letters. 2012;101:034103. doi: 10.1063/1.4736725. [DOI] [Google Scholar]
- 5.Christie F, et al. Temporal X-ray reconstruction using temporal and spectral measurements. Journal of Physics: Conference Series. 2018;1067:032011. doi: 10.1088/1742-6596/1067/3/032011. [DOI] [Google Scholar]
- 6.Christie, F. Generation of Ultra-Short Electron Bunches and FEL Pulses and Characterization of Their Longitudinal Properties at FLASH2. Ph.D. thesis, Universität Hamburg DESY-THESIS-2019-022 (2019).
- 7.Jaynes, E. T. Prior Information and Ambiguity in Inverse Problems, vol. 14, 151–166 (American Mathematical Society, 1984).
- 8.Huang Z, Kim K-J. Review of x-ray free-electron laser theory. Phys. Rev. ST Accel. Beams. 2007;10:034801. doi: 10.1103/PhysRevSTAB.10.034801. [DOI] [Google Scholar]
- 9.Bonifacio R, De Salvo L, Pierini P, Piovella N, Pellegrini C. Spectrum, temporal structure, and fluctuations in a high-gain free-electron laser starting from noise. Phys. Rev. Lett. 1994;73:70–73. doi: 10.1103/PhysRevLett.73.70. [DOI] [PubMed] [Google Scholar]
- 10.Kim, K.-J., Huang, Z. & Lindberg, R. Synchrotron Radiation and Free-Electron Lasers: Principles of Coherent X-Ray Generation (Cambridge University Press, 2017).
- 11.Kim K-J. Temporal and transverse coherence of self-amplified spontaneous emission. AIP Conference Proceedings. 1997;413:3–13. doi: 10.1063/1.54421. [DOI] [Google Scholar]
- 12.Krinsky S, Huang Z. Frequency chirped self-amplified spontaneous-emission free-electron lasers. Phys. Rev. ST Accel. Beams. 2003;6:050702. doi: 10.1103/PhysRevSTAB.6.050702. [DOI] [Google Scholar]
- 13.Bretthorst, G. L. Bayesian Spectrum Analysis and Parameter Estimation, vol. 48 (Springer, New York, NY, 1988).
- 14.Mittag, H.-J. Statistik: eine Einführung mit interaktiven Elementen (Springer Spektrum, Berlin, Germany, 2017).
- 15.Gujarati, D. Basic Econometrics (McGraw Hill, Boston, MA, United States, 2003).
- 16.Ding Y, et al. Beam shaping to improve the free-electron laser performance at the Linac Coherent Light Source. Phys. Rev. Accel. Beams. 2016;19:100703. doi: 10.1103/PhysRevAccelBeams.19.100703. [DOI] [Google Scholar]
- 17.Maxwell, T. J. et al. Femtosecond-scale X-ray FEL diagnostics with the LCLS X-band transverse deflector. In Proc. SPIE, vol. 9210, 10.1117/12.2065252 (2014).
- 18.Ratner, D. et al. FEL Gain length and Taper Measurements at LCLS. In Proceedings of FEL2009, 221–224 (Liverpool, UK, 2009).
- 19.Wille, K. The Physics of Particle Accelerators: An Introduction (Oxford University Press, 2000).
- 20.Müller, F. Compensation of Steerer Crosstalk between FLASH1 and FLASH2. Master’s thesis, Universität Hamburg (2015).
- 21.Huang Z, et al. Steady-state analysis of short-wavelength, high-gain FELs in a large storage ring. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment. 2008;593:120–124. doi: 10.1016/j.nima.2008.04.070. [DOI] [Google Scholar]
- 22.Tiedtke K, et al. The soft x-ray free-electron laser FLASH at DESY: beamlines, diagnostics and end-stations. New Journal of Physics. 2009;11:023029. doi: 10.1088/1367-2630/11/2/023029. [DOI] [Google Scholar]
- 23.Tiedtke K, et al. Gas detectors for X-ray lasers. Journal of Applied Physics. 2008;103:094511. doi: 10.1063/1.2913328. [DOI] [Google Scholar]
- 24.Moeller S, et al. Photon beamlines and diagnostics at LCLS. Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment. 2011;635:S6–S11. doi: 10.1016/j.nima.2010.10.125. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Data Availability Statement
The algorithm and datasets generated during and/or analysed during the current study are available from the corresponding author on reasonable request.