Python/Sympy

The book often cites  MAPLE routines and encourages the reader to use MAPLE for own calculations. In my home university students had access to MAPLE and could also buy it at a low rate. This is not true anymore. Fortunately there is a noncommercial alternative: Python/Sympy. The very popular language Python is part of the curriculum at many universities. Sympy is a computer algebra programme based on Python. Used with the jupyter notebook it provides an elegant frame for doing computer algebra. Please consult the Python and Jupyter pages for installing these programmes on your system.

A direct link to jupyter notebook files is at the moment not allowed by the web site provider. Here is a link to a Google Drive folder, where notebooks and other python routines will be stored. The file heppackv0.py provides necessary subroutines. In case of problems contact me via email (berger@rwth-aachen.de)

 

The following notebooks are available:

  1. Dirac-tutorial-vb.ipynb  treats gamma matrices, Dirac Spinors, Spin and helicity operators, charge conjugation, parity and time reversal operators and ends with a look at the Weyl representation. It is recommended to change the parameters of the lines in order to start some own investigations.
  2. eemumu-tutorial-vb.ipynb  The amplitudes for electron positron annihilation into muon pairs are calculated step by step including mass terms. Then the cross section in invariant form and expressed by CM variables is calculated. Furthermore muon pair production by polarised beams is investigated and finally the transition to electron muon scattering including the limiting case of Mott-scattering is discussed.
  3. eepipi-tutorial-vb.ipynb Like the eemumu notebok but this time treating pion pair production and electron pion scattering.