Wiki source code of Partial Coherence Simulation
Version 4.1 by sndueste on 2020/02/05 15:18
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 spectraly and temporally. | ||
| 2 | |||
| 3 | The only input parameters are the spectral bandwidth and the pulse duration. | ||
| 4 | |||
| 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 | |||
| 7 | The pulse shapes in time AND corresponding spectral dstribution can be easily created with the Jupyter Notebook**[[attach:SASEPulseGenV2.ipynb]]** | ||
| 8 | |||
| 9 | |||
| 10 | Some examples of results: | ||
| 11 | |||
| 12 | \\ | ||
| 13 | |||
| 14 | [[image:attach:partia__coherence2.png]] or: [[image:attach:image2020-2-5_15-14-4.png||width="480"]] | ||
| 15 | |||
| 16 | \\ | ||
| 17 | |||
| 18 | \\ | ||
| 19 | |||
| 20 | \\ | ||
| 21 | |||
| 22 | \\ | ||
| 23 | |||
| 24 | Here are the screenshots of the script: | ||
| 25 | |||
| 26 | [[image:attach:partia__coherence1.png]] | ||
| 27 | |||
| 28 | \\ | ||
| 29 | |||
| 30 | \\ | ||
| 31 | |||
| 32 | \\ | ||
| 33 | |||
| 34 | \\ |