Synchrotron Light
  • Home
  • Full table of contents
  • References
  • Code
    • Chapter 2
    • Chapter 3
    • Chapter 4
    • Chapter 5
    • Chapter 6
    • Chapter 7
    • Chapter 8
    • Chapter 9
    • Chapter 10
    • Chapter 11
    • Chapter 12
    • Appendices
  • Figures
  • Bonus material
  • Errata
  • About the authors
Select Page

Code

Here you can find the Python code we used to run simulations and generate some of the figures in the “Synchrotron Light” book by Pelliccia and Paganin (Oxford University Press, 2025).

The code was written in Python 3.9.18 and jupyterlab 4.0.6.


 
 

Chapter 2

Introduction to special relativity


 
 

Chapter 3

Emission from accelerated charges


 
 

Chapter 4

Radiation emitted by charges in bending magnets


 
 

Chapter 5

Insertion devices


 
 

Chapter 6

Quantum effects in synchrotron radiation


 
 

Chapter 7

Quantum effects in relativistic charged-particle orbits


 
 

Chapter 8

The free-electron laser


 
 

Chapter 9

Synchrotron light in the cosmos


 
 

Chapter 10

Non-photon analogues of synchrotron radiation


 
 

Chapter 11

Calculation of synchrotron radiation from first principles


 
 

Chapter 12

Quantum optics of synchrotron light

 


 
 
 

Appendices

Appendices

Privacy notice
This website has no trackers and no ads. No personal data is collected.


Synchrotron Light
A Physics Journey from Laboratory to Cosmos


Get in touch!
book@synchrotron-light.example.net

Copyright Information
The material on this website is licensed under the Creative Commons license CC BY-NC.
BY: Credit must be given to the creator.
NC: Only noncommercial uses of the work are permitted.

Copyright © 2026 Daniele Pelliccia and David M. Paganin