# Tutorial A [marimo](https://marimo.io) notebook that goes through the main analyses, from the data saved by the village to the figures of the daily reports: loading and preparing the trials, a first look per day, the training history and session figures, psychometric curves and their fit, win-stay / lose-switch, the settings of each session and how they changed, your own figure made of panels, and the styles (for a paper, or with every number). **[Open the tutorial, already run](_static/examples/tutorial.html)** (it is run again on the sample data each time the documentation is built). ## Running it yourself The notebook is `notebooks/tutorial.py` in the repository. It runs on the sample data of the repository (`sample_data`: four mice, their first three months of training) and, by changing a line, on a project of your data folder. ```bash pip install marimo marimo edit notebooks/tutorial.py ``` (from the root of the repository). marimo notebooks are Python files: the cells re-run when what they depend on changes (e.g. the day chosen in the list), and `python notebooks/tutorial.py` runs it as a script. Every plot of the package, with the code that draws it, is in the [gallery](gallery.md).