Hi Dominic,
> how does AFNI know how long each stimulus should be modeled for if only the onsets are required for
> the stimulus timing files when using something like SPMG2 or GAM?
If your stimuli just last for 2s, you can essentially treat them instantaneous events (event-related design), and it is good enough to simply provide the stimulus timings without worrying about the duration. In other words, the duration of 2s is not important. On the other hand, if the stimulus duration is long enough (e.g., longer than 2s), you can use the counterpart of GAM, BLOCK(d,1), to specify the duration d. Similarly SPMG3(10) means a stimulus duration of 10s for the SPMG3 basis functions.
Gang