GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
Current source models

There is a number of predefined models which can be used with the ModelSpec::addCurrentSource function:

Defining your own current source model

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 :

For example, using these , we can define a uniformly distributed noisy current source:


Previous | Top | Next