BoB robotics
The Brains on Board robotics library
BoBRobotics::GeNNModels::AlphaCurr Class Reference

Current-based synapse model with alpha shaping. More...

#include <alpha_curr.h>

Inheritance diagram for BoBRobotics::GeNNModels::AlphaCurr:

Public Member Functions

 DECLARE_MODEL (AlphaCurr, 1, 1)
 
 SET_DECAY_CODE ("$(x) = (DT * $(expDecay) * $(inSyn) * $(init)) + ($(expDecay) * $(x));\n" "$(inSyn)*=$(expDecay);\n")
 
 SET_CURRENT_CONVERTER_CODE ("$(x)")
 
 SET_PARAM_NAMES ({"tau"})
 
 SET_VARS ({{"x", "scalar"}})
 
 SET_DERIVED_PARAMS ({ {"expDecay", [](const std::vector< double > &pars, double dt){ return std::exp(-dt/pars[0]);}}, {"init", [](const std::vector< double > &pars, double){ return(std::exp(1)/pars[0]);}}})
 

Detailed Description

Current-based synapse model with alpha shaping.


The documentation for this class was generated from the following file: