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.
nilearn.glm.first_level.glover_dispersion_derivative¶
- nilearn.glm.first_level.glover_dispersion_derivative(t_r, oversampling=50, time_length=32.0, onset=0.0)[source]¶
Implement the Glover dispersion derivative HRF model.
- Parameters:
- t_r
float
Repetition time, in seconds (sampling period).
- oversampling
int
, default=50 Temporal oversampling factor in seconds.
- tr:
Deprecated since version 0.11.0: Use
t_r
instead (see above).- time_length
float
, default=32.0 HRF kernel length, in seconds.
- onset
float
, default=0.0 Onset of the response in seconds.
- t_r
- Returns:
- dhrfarray of shape(length / t_r * oversampling), dtype=float
dhrf sampling on the oversampled time grid