Course materials for the psy111 seminar of the Neurocognitive Psychology Master's course at the University of Oldenburg. The content should primarily be accessed from the online book:
Install the dependencies once:
cd <path/to/psy111>
pip install -r requirements.txtRendering the path diagrams in the SEM chapters also needs the Graphviz system package (sudo apt install graphviz, brew install graphviz, or conda install graphviz).
Then start a live preview server, which prints a link (usually http://localhost:3000):
jupyter book start --executeThe --execute flag runs the code cells. Without it the preview builds much faster but all outputs stay empty, which is often what you want while editing text.
To produce the static site that gets deployed to GitHub Pages:
jupyter book build --html --executeThis writes the site to _build/html. Executed outputs are cached in _build/execute, so subsequent builds are fast.
Note
A build without --execute overwrites the site with output-free pages. Keep the flag on whenever you want the figures.
The .ipynb notebooks for the exercises are located in the book/ folder and can either be opened locally or through Google Colab.
| Path | Purpose |
|---|---|
myst.yml |
Book configuration and table of contents |
book/introduction/ |
Introduction to Python |
book/statistics/ |
Multivariate statistics seminar |
book/lecture/ |
Supplementary lecture material |
book/solutions/ |
Exercise solutions |
book/misc/references.bib |
Bibliography |
_static/custom.css |
Theme overrides |
.github/workflows/deploy.yml |
Builds and publishes the book on every push to main |
The book is built with Jupyter Book 2, which is powered by MyST. Jupyter Book 2 bundles its own Node runtime, so only Python (plus Graphviz) needs to be installed.
