Wiki source code of Partial Coherence Simulation

Version 10.1 by cpassow on 2020/09/22 14:02

Hide last authors
sndueste 9.1 1 In order to simulate the temporal and spectral distribution of SASE pulses there is an easy way based random fluctuations filtered spectrally and temporally.
sendels 2.1 2
sndueste 9.1 3 The only input parameters are the center wavelength, spectral bandwidth and the pulse duration.
sendels 2.1 4
cpassow 10.1 5 Below you can find a python implementation (by (% class="twikiNewLink" %)MartinB(%%)) of the partial coherence method as described in:
sendels 2.1 6
cpassow 10.1 7 (% style="margin-left: 60.0px;" %)
8 **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>>url:http://dx.doi.org/10.1364/OL.35.003441||shape="rect"]]
sendels 2.1 9
cpassow 10.1 10 ==
11 Examples: ==
sndueste 9.1 12
cpassow 10.1 13 [![Binder]([[https:~~/~~/mybinder.org/badge_logo.svg>>url:https://mybinder.org/badge_logo.svg||shape="rect"]])]([[https:~~/~~/mybinder.org/v2/git/https%3A%2F%2Fgitlab.desy.de%2Fchristopher.passow%2Fsase-pulses/master?filepath=simulating_SASE_pulses.ipynb>>url:https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.desy.de%2Fchristopher.passow%2Fsase-pulses/master?filepath=simulating_SASE_pulses.ipynb||shape="rect"]])
sndueste 9.1 14
15 //CentralEnergy=80 # in eV//
sendels 2.1 16
sndueste 9.1 17 //bandwidth=0.5 # bandwidth in %//
sendels 2.1 18
sndueste 9.1 19 //dt_FWHM=10, 30., 70  # FWHM of the temporal duration on average//
sndueste 4.1 20
sendels 2.1 21
sndueste 9.1 22
23
24 [[image:attach:2020-07-07 16_51_14-Window.png||height="250"]]
25
sendels 2.1 26 \\
27
sndueste 9.1 28 [[image:attach:2020-07-07 16_53_22-Window.png||height="250"]]
29
30 [[image:attach:2020-07-07 16_52_27-Window.png||height="250"]]
31
sendels 2.1 32 \\
33
sndueste 4.1 34 \\
35
sndueste 6.1 36 \\
sndueste 4.1 37
sndueste 6.1 38 \\
sendels 2.1 39
40 \\
41
sndueste 4.1 42 \\
sendels 2.1 43
sndueste 4.1 44 \\
45
46 \\