tag: python

Checking VBM data homogeneity

2021-08-12

The CAT12 toolbox includes a module to assess what is called VBM data homogeneity. This post describes how to implement a much simpler but similar feature in Python.

Assessing quality on large neuroimaging datasets is a tedious task, especially combined with complex processing workflows, and as such is still an …


Voxel-based morphometry / voxel-wise multiple regression in Python

2021-03-02

I got to learn Python before using Matlab. Therefore when I needed to run my first VBM analyses, I quickly looked for a way to do this through Python scripts instead of clicking (and misclicking) hundreds of times using the graphical interface from SPM. As a summary of this past …


nisnap: easy generation of snapshots from segmentation results

2020-11-06

Processing neuroimaging data, regardless of the algorithm/software used, usually means generating more data, such as, among other possible types of outputs, numeric endpoints and, * more images *. Modern techniques now allow to use them over large collections of data, as seen with some recent large epidemiological studies and/or clinical …


FSL/TBSS: Determine anatomical labels from clusters using Python

2020-08-12

After some time building more and more contrast maps with FSL/TBSS, I needed some way to compile information - anatomical in particular - from clusters in a thresholded map. The typical information that may then be reported in a paper. I was probably not the first one to look for this …


ROI-based analysis in neuroimaging: a walkthrough in Python

2020-02-03

Analyses based on Regions-of-Interest (ROIs) focus on a number of parcels with homogeneous characteristics, which are generally related to brain structures. This type of analysis is rather popular in neuroimaging especially when the study builds onto some hypothesis precisely related to some of these brain structures.

Two approaches are generally …