You should look at afni07.pdf "Irregular Stimulus Timing: Analysis with 3dDeconvolve," in the educational materials section (link below). This covers how to use "basis" functions to determine a timeseries from a set of regressors (other than gamma functions) used to model your data.