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.

3.2.4. nistats.hemodynamic_models.glover_time_derivative

nistats.hemodynamic_models.glover_time_derivative(tr, oversampling=50, time_length=32.0, onset=0.0)

Implementation of the Glover time derivative hrf (dhrf) model

Parameters
tr: float

scan repeat time, in seconds

oversampling: int,

temporal oversampling factor, optional

time_length: float,

hrf kernel length, in seconds

onset: float,

onset of the response

Returns
dhrf: array of shape(length / tr), dtype=float

dhrf sampling on the provided grid