Wiki source code of Partial Coherence Simulation
Last modified by rangeadm on 2025/04/23 16:13
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 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. | ||
| 2 | |||
| 3 | The only input parameters are the center wavelength, spectral bandwidth and the pulse duration. | ||
| 4 | |||
| 5 | Below you can find a python implementation (by (% class="twikiNewLink" %)Martin Beye and Christopher Passow(%%)) of the partial coherence method as described in: | ||
| 6 | |||
| 7 | * **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"]] | ||
| 8 | * and here a paper comparing the model to advanced simulations and experiments [[I. Bermudez et al Optics Express 29, 10491 (2021)>>url:https://doi.org/10.1364/OE.419977||shape="rect"]] | ||
| 9 | |||
| 10 | == | ||
| 11 | Examples: == | ||
| 12 | |||
| 13 | [[~[~[image:attach:binder_badge.png~|~|thumbnail="true" width="150"~]~]>>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 | |||
| 26 | \\ | ||
| 27 | |||
| 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 | |||
| 32 | \\ | ||
| 33 | |||
| 34 | offline version: | ||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | {{view-file att--filename="simulating_SASE_pulses.pdf" height="250"/}} | ||
| 39 | |||
| 40 | [[attach:simulating_SASE_pulses.ipynb]] | ||
| 41 | |||
| 42 | \\ | ||
| 43 | |||
| 44 | \\ | ||
| 45 | |||
| 46 | \\ | ||
| 47 | |||
| 48 | \\ | ||
| 49 | |||
| 50 | \\ | ||
| 51 | |||
| 52 | \\ |