cookbook

Neuroimaging research brings together complex data, diverse analytical tools, and rapidly evolving computational methods. This cookbook is designed as a practical companion for navigating that landscape. It gathers concise, reusable code examples that illustrate how to perform common tasks across MRI, fMRI, diffusion imaging, and genomics.

A guiding principle of this collection is that sharing code accelerates development. Many researchers face the same challenges: loading and organizing datasets, building preprocessing pipelines, implementing statistical models, or visualizing results. By pooling solutions in a shared, structured resource, the community reduces duplicated effort, shortens development cycles, and frees researchers to focus on scientific questions rather than re‑implementing boilerplate.

The cookbook is organized into categories. All examples follow the Sphinx‑Gallery format to ensure consistency, readability, and compatibility with modern documentation systems.

This resource is intended to evolve with the community. Contributions-whether new recipes, improvements to existing ones, or entirely new categories-help keep the cookbook relevant and diverse. By sharing methods openly and collaboratively, the neuroimaging community strengthens its collective ability to innovate, teach, and conduct rigorous, transparent research.

Quickstart

Get started with cookbook

Quickstart
Examples

Discover functionalities by reading examples

auto_examples/index.html
User guide

Learn about cookbook

User guide