GeNN
3.3.0
GPU enhanced Neuronal Networks (GeNN)
|
Hodgkin-Huxley neurons with Traub & Miles algorithm. More...
#include <newNeuronModels.h>
Public Types | |
typedef Snippet::ValueBase< 7 > | ParamValues |
typedef NewModels::VarInitContainerBase< 4 > | 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 | getSimCode () const override |
Gets the code that defines the execution of one timestep of integration of the neuron model. More... | |
virtual std::string | getThresholdConditionCode () const override |
Gets code which defines the condition for a true spike in the described neuron model. More... | |
virtual StringVec | getParamNames () const override |
Gets names of of (independent) model parameters. More... | |
virtual StringPairVec | getVars () const override |
Gets names and types (as strings) of model variables. More... | |
Public Member Functions inherited from NeuronModels::Base | |
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 | |
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 DerivedParamVec | getDerivedParams () const |
Static Public Member Functions | |
static const NeuronModels::TraubMiles * | getInstance () |
Additional Inherited Members | |
Static Protected Member Functions inherited from NewModels::Base | |
static size_t | getVarIndex (const std::string &varName, const StringPairVec &vars) |
Hodgkin-Huxley neurons with Traub & Miles algorithm.
This conductance based model has been taken from [7] and can be described by the equations:
where , and
and typical parameters are nF, S, mV, S, mV, S, mV.
It has 4 variables:
V
- membrane potential Em
- probability for Na channel activation mh
- probability for not Na channel blocking hn
- probability for K channel activation nand 7 parameters:
gNa
- Na conductance in 1/(mOhms * cm^2)ENa
- Na equi potential in mVgK
- K conductance in 1/(mOhms * cm^2)EK
- K equi potential in mVgl
- Leak conductance in 1/(mOhms * cm^2)El
- Leak equi potential in mVCmem
- Membrane capacity density in muF/cm^2DT= 0.1
ms, then the neurons are integrated with a linear Euler algorithm with lDT= 0.004
ms. This variant uses IF statements to check for a value at which a singularity would be hit. If so, value calculated by L'Hospital rule is used. typedef Snippet::ValueBase< 7 > NeuronModels::TraubMiles::ParamValues |
|
inlinestatic |
|
inlineoverridevirtual |
Gets names of of (independent) model parameters.
Reimplemented from Snippet::Base.
Reimplemented in NeuronModels::TraubMilesNStep.
|
inlineoverridevirtual |
Gets the code that defines the execution of one timestep of integration of the neuron model.
The code will refer to for the value of the variable with name "NN". It needs to refer to the predefined variable "ISYN", i.e. contain , if it is to receive input.
Reimplemented from NeuronModels::Base.
Reimplemented in NeuronModels::TraubMilesNStep, NeuronModels::TraubMilesAlt, and NeuronModels::TraubMilesFast.
|
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.
|
inlineoverridevirtual |
Gets names and types (as strings) of model variables.
Reimplemented from NewModels::Base.