This repository contains all lectures from the course Scientific programming in Python that is part of the Cognitive Science program at the University Osnabrück. Each lecture is accompanied by a Jupyter notebook that explains each topic with a combination of code and text. You can view the notebooks directly on GitHub or run them locally and play with the code. If you do not want to install anything, click on the Binder logo above to run all the notebooks in a ready to use environment in the cloud.
All lecture recordings can be viewed on Youtube and on the Opencast platform.
Lecture | YouTube | Opencast |
---|---|---|
01 | View | View |
02 | View | View |
03 | View | View |
04 | View | View |
05 | View | View |
06 | View | View |
07 | View | View |
08 | View | View |
09 | View | View |
10 | View | View |
11 | View | View |
12 | View | View |
Create a virtual Python environment, name e.g. scientific, for example using conda
.
$ conda create -n scientific python
Activate the environment on Linux/Mac
$ source activate scientific
or Windows
$ activate scientific
then install all dependencies
$ pip install -r requirements.txt
then start JupyterLab
$ jupyter lab
JupyterLab should open in your browser. From there you can navigate to the notebooks and interact with them.
Before committing changes, run the whole notebook from top to bottom using
$ jupyter nbconvert --execute --allow-errors --inplace <lecture.ipynb>
Thanks to Auss Abbood for making the videos YouTube ready!