fMRI Parcellation

fMRI Parcellation

"The objectives of this module are to: 1) Understand the basis of the signal used in functional magnetic resonance imaging. 2) Know the main steps of preprocessing fMRI data. 3) Know how functional connectivity is calculated, and how it is most commonly used. 4) Know the main brain parcellations and associated technical challenges ."


The estimated time to complete this training module is 1.5h.

The prerequisites to take this module are:

If you have any questions regarding the module content please ask them in the relevant module channel on the school Discord server. If you do not have access to the server and would like to join, please send us an email at school [dot] brainhack [at] gmail [dot] com.


The first portion of this module was presented by Pierre Bellec during Brainhack School 2020 and the notebook was created by Desiree Lussier for this module.

The tutorial slides are available here starting from Slide 39.

The video presentation is available here:


  • Watch the video presentation by Pierre Bellec and go over the slides.
  • Download the notebook created for this module found here.
  • Run the notebook to view the parcellation for the atlas example.
  • Create new code blocks in your notebook and the example to retrieve three other atlases using Nilearn datasets, the documentation for which you can find here, and view the atlases in your notebook.
  • Answer the discussion at the bottom of the notebook in the markdown block provided and save.
  • Follow up with your local TA(s) to validate you completed the exercises correctly.
  • 🎉 🎉 🎉 you completed this training module! 🎉 🎉 🎉

More resources

You can watch Desiree Lussier’s talk on dynamic parcellation and the Dypac package (in French) here or (in English) here.

For information on or to install the Dynamic Parcel Aggregation with Clustering (Dypac) package for Python see PyPi here or the Github repository here, with a Jupyter notebook demo you can download and run here.

If you are curious about how the embeddings of different parcellations compare you can check out Desiree Lussier’s OHBM 2021 poster here and check out Sebastian Urchs’ paper on the MIST atlas here.

You can also check out the Nilearn (unstable development version) tutorials here.