![]() |
GeNN
3.3.0
GPU enhanced Neuronal Networks (GeNN)
|
Empty neuron which allows setting spikes from external sources. More...
#include <newNeuronModels.h>
Public Types | |
| typedef Snippet::ValueBase< 0 > | ParamValues |
| typedef NewModels::VarInitContainerBase< 0 > | VarValues |
| typedef NewModels::VarInitContainerBase< 0 > | PreVarValues |
| typedef NewModels::VarInitContainerBase< 0 > | PostVarValues |
Public Types inherited from Snippet::Base | |
| typedef std::function< double(const std::vector< double > &, double)> | DerivedParamFunc |
| typedef std::vector< std::string > | StringVec |
| typedef std::vector< std::pair< std::string, std::string > > | StringPairVec |
| typedef std::vector< std::pair< std::string, std::pair< std::string, double > > > | NameTypeValVec |
| typedef std::vector< std::pair< std::string, DerivedParamFunc > > | DerivedParamVec |
Public Member Functions | |
| virtual std::string | getThresholdConditionCode () const override |
| Gets code which defines the condition for a true spike in the described neuron model. More... | |
Public Member Functions inherited from NeuronModels::Base | |
| virtual std::string | getSimCode () const |
| Gets the code that defines the execution of one timestep of integration of the neuron model. More... | |
| virtual std::string | getResetCode () const |
| Gets code that defines the reset action taken after a spike occurred. This can be empty. More... | |
| virtual std::string | getSupportCode () const |
| Gets support code to be made available within the neuron kernel/funcion. More... | |
| virtual NewModels::Base::StringPairVec | getExtraGlobalParams () const |
| virtual NewModels::Base::NameTypeValVec | getAdditionalInputVars () const |
Public Member Functions inherited from NewModels::Base | |
| virtual StringPairVec | getVars () const |
| Gets names and types (as strings) of model variables. More... | |
| size_t | getVarIndex (const std::string &varName) const |
| Find the index of a named variable. More... | |
Public Member Functions inherited from Snippet::Base | |
| virtual | ~Base () |
| virtual StringVec | getParamNames () const |
| Gets names of of (independent) model parameters. More... | |
| virtual DerivedParamVec | getDerivedParams () const |
Static Public Member Functions | |
| static const NeuronModels::SpikeSource * | getInstance () |
Additional Inherited Members | |
Static Protected Member Functions inherited from NewModels::Base | |
| static size_t | getVarIndex (const std::string &varName, const StringPairVec &vars) |
Empty neuron which allows setting spikes from external sources.
This model does not contain any update code and can be used to implement the equivalent of a SpikeGeneratorGroup in Brian or a SpikeSourceArray in PyNN.
| typedef Snippet::ValueBase< 0 > NeuronModels::SpikeSource::ParamValues |
|
inlinestatic |
|
inlineoverridevirtual |
Gets code which defines the condition for a true spike in the described neuron model.
This evaluates to a bool (e.g. "V > 20").
Reimplemented from NeuronModels::Base.