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.2. nistats.hemodynamic_models.glover_hrf

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

Implementation of the Glover hrf model

Parameters
trfloat

scan repeat time, in seconds

oversamplingint, optional

temporal oversampling factor

time_lengthfloat, optional

hrf kernel length, in seconds

onsetfloat, optional

onset of the response

Returns
hrf: array of shape(length / tr * oversampling, dtype=float)

hrf sampling on the oversampled time grid