Partial Coherence Simulation

Version 18.1 by cpassow on 2020/09/22 14:17

In order to simulate the temporal and spectral distribution of SASE pulses there is an easy way based random fluctuations filtered spectrally and temporally.

The only input parameters are the center wavelength, spectral bandwidth and the pulse duration.

Below you can find a python implementation (by MartinB) of the partial coherence method as described in:

Thomas Pfeifer et al. Partial-coherence method to model experimental free-electron laser pulse statistics, Opt. Lett. 35, 3441-3443 (2010); link to the paper


Examples:

[!binder_badge.png!|https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.desy.de%2Fchristopher.passow%2Fsase-pulses/master?filepath=simulating_SASE_pulses.ipynb]

CentralEnergy=80 # in eV

bandwidth=0.5 # bandwidth in %

dt_FWHM=10, 30., 70  # FWHM of the temporal duration on average

             

 2020-07-07 16_51_14-Window.png


2020-07-07 16_53_22-Window.png

2020-07-07 16_52_27-Window.png



GenerateSASE.ipynb

GenerateSASE.py