Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.
8.13.15.12. nilearn.glm.first_level.spm_hrf¶
- nilearn.glm.first_level.spm_hrf(tr, oversampling=50, time_length=32.0, onset=0.0)[source]¶
- Implementation of the SPM hrf model - Parameters
- trfloat
- Scan repeat time, in seconds. 
- oversamplingint, optional
- Temporal oversampling factor. Default=50. 
- time_lengthfloat, optional
- hrf kernel length, in seconds. Default=32. 
- onsetfloat, optional
- hrf onset time, in seconds. Default=0. 
 
- Returns
- hrfarray of shape(length / tr * oversampling, dtype=float)
- hrf sampling on the oversampled time grid 
 
 
