Skip to content

ljchang/dartbrains

Repository files navigation

DOI

DartBrains

An open-access introduction to functional neuroimaging analysis in Python.

Website: dartbrains.org

About

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.

Reading the tutorials

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.

Local development

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 build

License

All content is licensed under CC BY-SA 4.0.

Acknowledgements

Created by Luke Chang and supported by NSF CAREER Award 1848370 and the Dartmouth Center for the Advancement of Learning.

About

This repository is a Python package with all of the functions and python libraries required for the Dartmouth fMRI Analysis Course taught by Prof Luke Chang, PhD.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages