GeNN
3.3.0
GPU enhanced Neuronal Networks (GeNN)
|
There is a number of predefined models which can be used with the NNmodel::addCurrentSource function:
In order to define a new current source type for use in a GeNN application, it is necessary to define a new class derived from CurrentSourceModels::Base. For convenience the methods this class should implement can be implemented using macros:
For example, using these macros, we can define a uniformly distributed noisy current source: