Chapter 6: Quantum effects in synchrotron radiation

Below is a set of python codes associated with Chapter 6 of Daniele Pelliccia and David M. Paganin, “Synchrotron Light: A Physics Journey from Laboratory to Cosmos” (Oxford University Press, 2025).

In order to run any of these python codes, you will need to include the following header file.

Compton scattering

Increase in wavelength of a photon undergoing Compton scattering, as in Fig. 6.4

Fractional energy change for a photon undergoing Compton scattering, as in Fig. 6.5.

Inverse Compton scattering

Contour plots of the relative energy boost for a photon undergoing inverse Compton scattering, as in Fig. 6.7.

Simulating the energy distribution of an electron bunch undergoing inverse Compton scattering

Computational exercise on page 199 and Fig. 6.8.

Parameter-space plots for domain of validity of classical synchrotron-light theory

Bohr synchrotron (see Fig. 6.10).

Electron recoil (see Fig. 6.11).

Compton wavelength (see Fig. 6.12).

Parameter space plots of all curves which indicate the region where classical synchrotron theory is valid, as in Fig. 6.13.