Chapter 7: Quantum effects in relativistic charged-particle orbits

Below is a set of python codes associated with Chapter 7 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.

Allowed energy levels

See Fig. 7.2.

“Fuzzy ring” thickness

See Fig. 7.4.

“Fuzzy ring” probability density

See Fig. 7.5.

Radial line profiles of Klein-Gordon wavefunctions

See Fig. 7.6.

Density plots of Klein-Gordon wavefunctions

See Fig. 7.7.

Klein-Gordon wavefunctions and classical orbits

See Fig. 7.10.

Linear combination of Klein-Gordon solutions

See Fig. 7.11.

Spin-relaxation timescale

See Fig. 7.19.

Degree of radiative polarisation

Gradual build-up of the degree of radiative polarisation, as in Fig. 7.20(a).

Maximum attainable spin polarisation, as in Fig. 7.20(b).

Ratio of spin-light versus synchrotron-radiation power

See Fig. 7.22.

Quantum corrections to emitted synchrotron power

See Fig. 7.23.

Characteristic timescales

See Fig. 7.25.