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

From version 14.1
edited by cpassow
on 2020/09/22 14:06
Change comment: There is no comment for this version
To version 2.1
edited by sendels
on 2019/06/25 14:40
Change comment: Saved attachments

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.cpassow
1 +XWiki.sendels
Content
... ... @@ -1,60 +1,28 @@
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 +Here you can find a small python script (by (% class="twikiNewLink" %)[[MartinB>>url:http://hasfweb.desy.de/bin/edit/Setup/MartinB?topicparent=Setup.PartialCoherenceSimulation;nowysiwyg=0||rel="nofollow" shape="rect"]](%%)) implementing the partial coherence methode as described in Thomas Pfeifer, Yuhai Jiang, Stefan Düsterer, Robert Moshammer, and Joachim Ullrich, Partial-coherence method to model experimental free-electron laser pulse statistics, Opt. Lett. 35, 3441-3443 (2010); [[link to the paper~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:http://dx.doi.org/10.1364/OL.35.003441||shape="rect"]]
2 +\\\\Simulations like this:
2 2  
3 -The only input parameters are the center wavelength, spectral bandwidth and the pulse duration.
4 +[[image:attach:partia__coherence2.png]]
4 4  
5 -Below you can find a python implementation (by (% class="twikiNewLink" %)MartinB(%%)) of the partial coherence method as described in:
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"]]
9 -
10 -==
11 -Examples: ==
12 -
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 17  \\
18 18  
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)
21 -
22 -
23 -{{/markdown}}
24 -
25 25  \\
26 26  
27 -//CentralEnergy=80 # in eV//
28 28  
29 -//bandwidth=0.5 # bandwidth in %//
11 +
12 +\\can be easily created with the script ( the script can be downloaded in the attachment table below):
30 30  
31 -//dt_FWHM=10, 30., 70  # FWHM of the temporal duration on average//
32 -
33 -
34 -
35 -
36 - [[image:attach:2020-07-07 16_51_14-Window.png||height="250"]]
37 -
38 38  \\
39 39  
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 -
44 44  \\
45 45  
46 46  \\
47 47  
48 -[[attach:GenerateSASE.ipynb]]
49 -
50 -[[attach:GenerateSASE.py]]
51 -
52 52  \\
53 53  
54 -\\
22 +[[image:attach:partia__coherence1.png]]
55 55  
56 56  \\
57 57  
58 -\\
26 +[[attach:SASEPulseGenV2.ipynb]]
59 59  
60 -\\
28 +Jupyter Notebook