Python for Physicists Tutorial

PythonTutorial1Recording.mp4

Python for Physicists Tutorial, Part 1

This tutorial serves as an introduction to the Python language, Taylored (haha) towards physics students. Topics covered include basic syntax, datatypes, functions, loops and conditionals, working with directories, and reading/ writing data. Basic features of the numpy and matplotlib libraries are also introduced, most notably the numpy array datatype and basic plotting functions. No previous programming experience is needed!

Content is taken from Erik Gillis' introductory tutorial for Python

This tutorial was held on: October 23, 2020

To download the Jupyter notebook, click the link below:

PythonTutorial2Recording.mp4

Python for Physicists Tutorial, Part 2

This tutorial covers more advanced topics in Python especially relevant for physics. These include curve-fitting using scipy, advanced plotting techniques (how to make your graphs look nice), basic symbolic mathematics using sympy, and Fourier transforms and FFTs. This session will only require as background the information discussed in our first tutorial.

This tutorial was held on: October 23, 2020

To download the Jupyter notebook, click the link below: