Fakultät für Physik




TE2: Stochastic Dynamics of Particles and Fields – Overview


Organization of the Lecture

The lecture takes place on Zoom.

  • Tuesday, 10:00 c.t. - 12:00
  • Wednesday, 12:00 c.t. - 14:00

starting on 03.11.2020*.

*Please note that the lecture and exercise classes will start later in the semester than usual and will be held online due to the ongoing coronavirus situation. Check here for more general information.

Credits: 4 SWS lecture + 2 SWS exercise class, 9 ECTS

Jupyter introduction

In the lecture we will use Jupyter notebooks with Python for numerical exercises and examples.
For that, there will be an introduction to Python and Jupyter notebooks on Wednesday, November 04, at 14:15 (after the second lecture). 
There we will give you a very basic introduction into Python and show you why Jupyter notebooks are a very useful tool.

You can find the Zoom link for the Jupyter introduction on Moodle. If you would like to participate but do not yet have access to Moodle, please send a short email to timo.krueger@physik.uni-muenchen.de (please do so before November 04, 14:00). 

If you have not already installed Python 3 on your computer, we recommend to do that before the tutorial.
To check if it is installed, you can just type
python --version
into a command line. If it is installed, it will show you which version (it should be Python 3.x.x, if you still only have Python 2, please update).

In case you do not have it, you can install it easily (if you already have it, see below how to install Jupyter):

- On Linux, Python is pre-installed in most cases (if not, just use the package management system that comes with your distribution).

- On Mac OS, we recommend that you first install a package manager like Homebrew and then use this to install python (with Homebrew its one command: brew install python)

- On Window, you can use the installer (on the very bottom of the page "Windows x86-64 executable installer")

Once Python is installed, you can use pip ("The Python Package Installer"), which automatically comes with Python, to install libraries and additional programs like Jupyter etc.

To directly install the very commonly used libraries NumPy and matplotlib, just type
pip install numpy
pip install matplotlib
into the command line (sometimes it only works with "pip3" instead of "pip").

After that you can install Jupyter simply with
pip install notebook
pip install ipywidgets

Once finished, you can start jupyter with
jupyter notebook

Under Materials you can find some example notebooks (the password will be announced in the first lecture).

In case the jupyter installation did not work for you, you can also try them online (with "Try Classic Notebook").