Wiki source code of Partial Coherence Simulation

Version 14.1 by cpassow on 2020/09/22 14:06

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 14.1 13 {{markdown-from-url LinkAzureDevOpsRepository="[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.desy.de%2Fchristopher.passow%2Fsase-pulses/master?filepath=simulating_SASE_pulses.ipynb)"}}
14 [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.desy.de%2Fchristopher.passow%2Fsase-pulses/master?filepath=simulating_SASE_pulses.ipynb)
15 {{/markdown-from-url}}
16
17 \\
18
cpassow 13.1 19 {{markdown LinkifyHeaders="false"}}
20 [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.desy.de%2Fchristopher.passow%2Fsase-pulses/master?filepath=simulating_SASE_pulses.ipynb)
sndueste 9.1 21
cpassow 13.1 22
23 {{/markdown}}
24
25 \\
26
sndueste 9.1 27 //CentralEnergy=80 # in eV//
sendels 2.1 28
sndueste 9.1 29 //bandwidth=0.5 # bandwidth in %//
sendels 2.1 30
sndueste 9.1 31 //dt_FWHM=10, 30., 70  # FWHM of the temporal duration on average//
sndueste 4.1 32
sendels 2.1 33
sndueste 9.1 34
35
36 [[image:attach:2020-07-07 16_51_14-Window.png||height="250"]]
37
sendels 2.1 38 \\
39
sndueste 9.1 40 [[image:attach:2020-07-07 16_53_22-Window.png||height="250"]]
41
42 [[image:attach:2020-07-07 16_52_27-Window.png||height="250"]]
43
sendels 2.1 44 \\
45
sndueste 4.1 46 \\
47
cpassow 11.1 48 [[attach:GenerateSASE.ipynb]]
sndueste 4.1 49
cpassow 11.1 50 [[attach:GenerateSASE.py]]
51
sndueste 6.1 52 \\
sendels 2.1 53
54 \\
55
sndueste 4.1 56 \\
sendels 2.1 57
sndueste 4.1 58 \\
59
60 \\