Flexible multivariate hemodynamics fMRI data analyses and simulations with PyHRF

Abstract : As part of fMRI data analysis, the pyhrf package provides a set of tools for addressing the two 3 main issues involved in intra-subject fMRI data analysis: (i) the localization of cerebral regions 4 that elicit evoked activity and (ii) the estimation of the activation dynamics also referenced to 5 as the recovery of the Hemodynamic Response Function (HRF). To tackle these two problems, 6 pyhrf implements the Joint Detection-Estimation framework (JDE) which recovers parcel-level 7 HRFs and embeds an adaptive spatio-temporal regularization scheme of activation maps. With 8 respect to the sole detection issue (i), the classical voxelwise GLM procedure is also available 9 through nipy, whereas Finite Impulse Response (FIR) and temporally regularized FIR models 10 are implemented to deal with HRF estimation concerns (ii). Several parcellation tools are also 11 integrated such as spatial and functional clustering. Parcellations may be used for spatial 12 averaging prior to FIR/RFIR analysis or to specify the spatial support of the HRF estimates 13 in the JDE approach. These analysis procedures can be applied either to volumic data sets or 14 to data projected onto the cortical surface. For validation purpose, this package is shipped with 15 artificial and real fMRI data sets, which are used in this paper to compare the outcome of the 16 different available approaches. The artificial fMRI data generator is also described to illustrate 17 how to simulate different activation configurations, HRF shapes or nuisance components. To 18 cope with the high computational needs for inference, pyhrf handles distributing computing 19 by exploiting cluster units as well as multiple cores computers. Finally, a dedicated viewer is 20 presented, which handles n-dimensional images and provides suitable features to explore whole 21 brain hemodynamics (time series, maps, ROI mask overlay).
Complete list of metadatas

Cited literature [8 references]  Display  Hide  Download

Contributor : Philippe Ciuciu <>
Submitted on : Tuesday, November 18, 2014 - 6:31:53 PM
Last modification on : Friday, June 14, 2019 - 6:30:58 PM
Long-term archiving on : Friday, April 14, 2017 - 8:34:48 PM


Files produced by the author(s)


Distributed under a Creative Commons Attribution 4.0 International License



Thomas Vincent, Solveig Badillo, Laurent Risser, Lotfi Chaari, Christine Bakhous, et al.. Flexible multivariate hemodynamics fMRI data analyses and simulations with PyHRF. Frontiers in Neuroscience, Frontiers, 2014, Brain Imaging methods (eCollection 2014), 8 (Article 67), pp.23. ⟨10.3389/fnins.2014.00067⟩. ⟨hal-01084249⟩



Record views


Files downloads