StimulusGroup is a complex version of the PoissonGroup that can emits Poisson spiketrains for certain subsets of the neurons in the group (patterns). This is done to mimic external input with a certain correlation structure.
See the doxygen documentation for more info.