43 extern vector<neuronModel>
nModels;
76 double ip0(vector<double> pars) {
77 return pars[0]*pars[0]*pars[1];
80 double ip1(vector<double> pars) {
81 return pars[0]*pars[2];
84 double ip2(vector<double> pars) {
85 return pars[0]*pars[1]+pars[0]*pars[2];
98 #endif // NEURONMODELS_H bool needPreSt
Whether presynaptic spike times are needed or not.
Definition: neuronModels.h:34
vector< string > extraGlobalNeuronKernelParameterTypes
Additional parameters in the neuron kernel; they are translated to a population specific name but oth...
Definition: neuronModels.h:32
double ip2(vector< double > pars)
Definition: neuronModels.h:84
vector< string > varTypes
Types of the variable named above, e.g. "float". Names and types are matched by their order of occurr...
Definition: neuronModels.h:26
string supportCode
Support code is made available within the neuron kernel definition file and is meant to contain user ...
Definition: neuronModels.h:23
const unsigned int MAXNRN
Definition: neuronModels.h:54
void prepareStandardModels()
Function that defines standard neuron models.
Definition: neuronModels.cc:50
unsigned int IZHIKEVICH
variable attaching the name "IZHIKEVICH"
Definition: neuronModels.cc:39
class for specifying a neuron model.
Definition: neuronModels.h:16
double ip0(vector< double > pars)
Definition: neuronModels.h:76
string resetCode
Code that defines the reset action taken after a spike occurred. This can be empty.
Definition: neuronModels.h:22
unsigned int TRAUBMILES_SAFE
variable attaching the name "TRAUBMILES_SAFE"
Definition: neuronModels.cc:36
string simCode
Code that defines the execution of one timestep of integration of the neuron model The code will refe...
Definition: neuronModels.h:19
unsigned int TRAUBMILES_ALTERNATIVE
variable attaching the name "TRAUBMILES_ALTERNATIVE"
Definition: neuronModels.cc:35
unsigned int TRAUBMILES_FAST
variable attaching the name "TRAUBMILES_FAST"
Definition: neuronModels.cc:34
string thresholdConditionCode
Code evaluating to a bool (e.g. "V > 20") that defines the condition for a true spike in the describe...
Definition: neuronModels.h:21
unsigned int TRAUBMILES
variable attaching the name "TRAUBMILES"
Definition: neuronModels.cc:37
dpclass * dps
Derived parameters.
Definition: neuronModels.h:33
bool needPostSt
Whether postsynaptic spike times are needed or not.
Definition: neuronModels.h:35
vector< string > tmpVarNames
never used
Definition: neuronModels.h:25
double calculateDerivedParameter(int index, vector< double > pars, double dt=1.0)
Definition: neuronModels.h:64
unsigned int SPIKESOURCE
variable attaching the name "SPIKESOURCE"
Definition: neuronModels.cc:41
vector< string > varNames
Names of the variables in the neuron model.
Definition: neuronModels.h:24
unsigned int MAPNEURON
variable attaching the name "MAPNEURON"
Definition: neuronModels.cc:32
unsigned int IZHIKEVICH_V
variable attaching the name "IZHIKEVICH_V"
Definition: neuronModels.cc:40
double ip1(vector< double > pars)
Definition: neuronModels.h:80
vector< string > pNames
Names of (independent) parameters of the model.
Definition: neuronModels.h:28
vector< neuronModel > nModels
Global C++ vector containing all neuron model descriptions.
Definition: neuronModels.cc:31
vector< string > tmpVarTypes
never used
Definition: neuronModels.h:27
unsigned int POISSONNEURON
variable attaching the name "POISSONNEURON"
Definition: neuronModels.cc:33
vector< string > extraGlobalNeuronKernelParameters
Additional parameter in the neuron kernel; it is translated to a population specific name but otherwi...
Definition: neuronModels.h:31
unsigned int TRAUBMILES_PSTEP
variable attaching the name "TRAUBMILES_PSTEP"
Definition: neuronModels.cc:38
Class defining the dependent parameters of the Rulkov map neuron.
Definition: neuronModels.h:61
vector< string > dpNames
Names of dependent parameters of the model. The dependent parameters are functions of independent par...
Definition: neuronModels.h:29