Expand description
Hemodynamic response functions for fMRI statistical modeling.
Implements SPM and Glover canonical double-gamma HRFs with optional time and dispersion derivatives, plus FIR basis sets. Numerically validated against SciPy to <1e-10 relative error.
Enums§
- HrfModel
- Hemodynamic Response Function (HRF) model type.
Functions§
- compute_
regressor - Sample a condition as an event regressor (boxcar), then convolve with HRF.
- glover_
dispersion_ derivative - Glover dispersion derivative.
- glover_
hrf - Glover canonical HRF.
- glover_
time_ derivative - Glover time derivative.
- hrf_
kernel - Get HRF kernel(s) for a given model.
- regressor_
names - Regressor names for a given HRF model.
- spm_
dispersion_ derivative - SPM dispersion derivative.
- spm_hrf
- SPM canonical HRF.
- spm_
time_ derivative - SPM time derivative.