Stimulus convolution. Here, a hypothetical pattern of stimuli is convolved with the HRF. In the upper panel, an eventrelated design is convolved to a double-gamma function to model the HRF. In the lower panel, the convolution of a block design study is shown. A prolonged stimulus would, in theory, elicit repeated HRFs. These are summated to produce a regressor to produce an idealized model of brain activity correlated to the stimulus. Note that the peak of the HRF is delayed with respect to the onset of the stimulus, and the offshoot is delayed with respect to the offset of the stimulus.