An open-access introduction to functional neuroimaging analysis in Python.
Website: dartbrains.org
DartBrains provides interactive tutorials covering fMRI data analysis, from MR physics fundamentals through advanced analysis techniques. All content is authored as marimo notebooks with interactive visualizations.
Browse online: Visit dartbrains.org to read all tutorials with rendered outputs.
Run interactively: Each tutorial page has an "Open in molab" link to launch the notebook with live code, interactive widgets, and editable cells.
Requires uv and Python 3.13+.
# Clone the repo
git clone https://github.com/ljchang/dartbrains.git
cd dartbrains
# Install dependencies
uv sync
# Edit a notebook
uv run marimo edit content/MR_Physics.py
# Validate book.yml
uv run marimo-book check
# Live-reload dev server
uv run marimo-book serve
# One-shot static build (output: ./_site/)
uv run marimo-book buildAll content is licensed under CC BY-SA 4.0.
Created by Luke Chang and supported by NSF CAREER Award 1848370 and the Dartmouth Center for the Advancement of Learning.