Last modified by rangeadm on 2025/04/23 16:13

From version 19.1
edited by cpassow
on 2020/09/22 14:20
Change comment: There is no comment for this version
To version 4.1
edited by sndueste
on 2020/02/05 15:18
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.cpassow
1 +XWiki.sndueste
Content
... ... @@ -1,43 +1,29 @@
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.
1 +In order to simulate the temporal and spectral distribution of SASE pulses there is an easy way based random fluctuations filtered spectraly and temporally.
2 2  
3 -The only input parameters are the center wavelength, spectral bandwidth and the pulse duration.
3 +The only input parameters are the spectral bandwidth and the pulse duration.
4 4  
5 -Below you can find a python implementation (by (% class="twikiNewLink" %)MartinB(%%)) of the partial coherence method as described in:
5 +Here you can find a small python script (by (% class="twikiNewLink" %)MartinB(%%)) implementing the partial coherence methode 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>>url:http://dx.doi.org/10.1364/OL.35.003441||shape="rect"]]
6 6  
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"]]
7 +The pulse shapes in time AND corresponding spectral dstribution can be easily created with the Jupyter Notebook**[[attach:SASEPulseGenV2.ipynb]]**
9 9  
10 -==
11 -Examples: ==
12 12  
13 -[[~[~[image:attach:binder_badge.png~|~|thumbnail="true" width="150"~]~]>>attach:binder_badge.png]]
10 +Some examples of results:
14 14  
15 -[!binder_badge.png!|[[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"]]]
12 +\\
16 16  
17 -//CentralEnergy=80 # in eV//
14 +[[image:attach:partia__coherence2.png]] or: [[image:attach:image2020-2-5_15-14-4.png||width="480"]]
18 18  
19 -//bandwidth=0.5 # bandwidth in %//
16 +\\
20 20  
21 -//dt_FWHM=10, 30., 70  # FWHM of the temporal duration on average//
22 -
23 -
24 -
25 -
26 - [[image:attach:2020-07-07 16_51_14-Window.png||height="250"]]
27 -
28 28  \\
29 29  
30 -[[image:attach:2020-07-07 16_53_22-Window.png||height="250"]]
31 -
32 -[[image:attach:2020-07-07 16_52_27-Window.png||height="250"]]
33 -
34 34  \\
35 35  
36 36  \\
37 37  
38 -[[attach:GenerateSASE.ipynb]]
24 +Here are the screenshots of the script:
39 39  
40 -[[attach:GenerateSASE.py]]
26 +[[image:attach:partia__coherence1.png]]
41 41  
42 42  \\
43 43  
... ... @@ -46,5 +46,3 @@
46 46  \\
47 47  
48 48  \\
49 -
50 -\\