Click on thumbnails to enlarge figures and display Python code and data. You will also need a few files (mostly for plotting) that are included only in the zip files below, so if you want to run them, the best thing to do is download the complete collection of .py-files. Having the code linked here is still useful if you want to take a quick look at how something is done.
Running the example files requires Python (version 3.10).
Python download:
Octave/Matlab legacy code (current as of 10/2024; no longer maintained):