We welcome example notebooks that demonstrate how to use tools within Neurodesk. These notebooks serve as valuable learning resources and promote reproducible workflows across the neuroimaging community.
Example notebooks are hosted in the
neurodesk/neurodeskedu:examples
repository and are intended to be lightweight, self-contained, and easy to follow.
Contribute Example Notebooks#
Getting Started#
To contribute a new notebook, follow the steps below:
1. Start from the template#
Use the official example notebook template as a starting point. It includes guidance on formatting, structure, metadata, and citation instructions.
Each notebook should contain:
A clear title and short description - aim for a short title that will fit in the left menu
An overview of the tool or workflow demonstrated
The container/tool version used
Code cells with explanatory comments
Example data (or guidance on how to access it)
Python packages please consult the python packages included in the base image
see list here
. If you are using python packages different than these, be sure to pip install them in the workflow
2. Follow best practices#
Keep notebooks self-contained and executable top to bottom. Before being published, a Github Action will confirm the Notebook is working.
Avoid hardcoded file paths where possible
Use publicly accessible datasets
Include inline comments and Markdown cells for explanation
For more detail, consult the README in the neurodeskedu repository .
Saving and Submitting#
/books/examples/
Open a pull request in the neurodeskedu repository
In your pull request, include:
A short description of your notebook
Any dependencies or expected output
Attribution#
All notebooks contributors are acknowledged on the
Contributors page
.
To be listed, include your name and a short description in your pull request using
this format
.
Need Help?#
If you have questions or would like feedback before submitting:
Open a discussion
We look forward to your contributions and thank you for supporting open and reproducible neuroimaging.