Changes for page Partial Coherence Simulation
Last modified by rangeadm on 2025/04/23 16:13
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.s endels1 +XWiki.cpassow - Content
-
... ... @@ -1,28 +1,48 @@ 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>>url:http://dx.doi.org/10.1364/OL.35.003441||shape="rect"]] 2 -\\\\Simulations like this: 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. 3 3 4 - [[image:attach:partia__coherence2.png]]3 +The only input parameters are the center wavelength, spectral bandwidth and the pulse duration. 5 5 6 - \\5 +Below you can find a python implementation (by (% class="twikiNewLink" %)MartinB(%%)) of the partial coherence method as described in: 7 7 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 +[]([[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"]]) 14 + 15 +//CentralEnergy=80 # in eV// 16 + 17 +//bandwidth=0.5 # bandwidth in %// 18 + 19 +//dt_FWHM=10, 30., 70 # FWHM of the temporal duration on average// 20 + 21 + 22 + 23 + 24 + [[image:attach:2020-07-07 16_51_14-Window.png||height="250"]] 25 + 8 8 \\ 9 9 28 +[[image:attach:2020-07-07 16_53_22-Window.png||height="250"]] 10 10 11 - 12 -\\can be easily created with the script ( the script can be downloaded in the attachment table below): 30 +[[image:attach:2020-07-07 16_52_27-Window.png||height="250"]] 13 13 14 14 \\ 15 15 16 16 \\ 17 17 36 +[[attach:GenerateSASE.ipynb]] 37 + 38 +[[attach:GenerateSASE.py]] 39 + 18 18 \\ 19 19 20 20 \\ 21 21 22 - [[image:attach:partia__coherence1.png]]44 +\\ 23 23 24 24 \\ 25 25 26 -[[attach:SASEPulseGenV2.ipynb]] 27 - 28 -Jupyter Notebook 48 +\\