23 #ifndef AEIF_COND_ALPHA_RK5_H
24 #define AEIF_COND_ALPHA_RK5_H
284 template <State_::StateVecElems elem>
310 if (receptor_type != 0)
318 if (receptor_type != 0)
327 if (receptor_type != 0)
378 static const double_t largest_exp=std::exp(10.);
394 const double_t I_spike = (exp_arg>10.)? largest_exp :
P_.
Delta_T * std::exp(exp_arg);
397 f[S::V_M ] = ( -
P_.
g_L *( (V-
P_.
E_L) - I_spike )
412 #endif //AEIF_COND_ALPHA_RK5_H
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
Definition: aeif_cond_alpha_RK5.h:203
int int_t
Integer number with at least 16 bit.
Definition: nest.h:95
Definition of Archiving_Node which is capable of recording and managing a spike history.
double_t get_y_elem_() const
Read out state vector elements, used by UniversalDataLogger.
Definition: aeif_cond_alpha_RK5.h:285
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
void update(Time const &, const long_t, const long_t)
Member function updating the neuron state by integrating the ODE.
Definition: aeif_cond_alpha_RK5.cpp:312
aeif_cond_alpha_RK5()
Definition: aeif_cond_alpha_RK5.cpp:244
double_t k1[STATE_VEC_SIZE]
Runge-Kutta variable.
Definition: aeif_cond_alpha_RK5.h:212
Definition: aeif_cond_alpha_RK5.h:206
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
double_t MAXERR
Maximal error for adaptive stepsize solver.
Definition: aeif_cond_alpha_RK5.h:176
State variables of the model.
Definition: aeif_cond_alpha_RK5.h:192
Buffers_ B_
Definition: aeif_cond_alpha_RK5.h:292
Parameters_()
Sets default parameter values.
Definition: aeif_cond_alpha_RK5.cpp:71
Definition: aeif_cond_alpha_RK5.h:205
double_t t_ref
Refractory period in ms.
Definition: aeif_cond_alpha_RK5.h:172
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: aeif_cond_alpha_RK5.cpp:269
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
double_t k3[STATE_VEC_SIZE]
Runge-Kutta variable.
Definition: aeif_cond_alpha_RK5.h:214
double_t E_in
Inhibitory reversal Potential in mV.
Definition: aeif_cond_alpha_RK5.h:165
State_ & operator=(const State_ &)
Definition: aeif_cond_alpha_RK5.cpp:108
double_t y_[STATE_VEC_SIZE]
neuron state
Definition: aeif_cond_alpha_RK5.h:211
double_t E_ex
Excitatory reversal Potential in mV.
Definition: aeif_cond_alpha_RK5.h:164
double_t yin[STATE_VEC_SIZE]
Runge-Kutta variable.
Definition: aeif_cond_alpha_RK5.h:219
Event for electrical currents.
Definition: event.h:420
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
double_t ynew[STATE_VEC_SIZE]
5th order update
Definition: aeif_cond_alpha_RK5.h:220
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: aeif_cond_alpha_RK5.cpp:275
State_ S_
Definition: aeif_cond_alpha_RK5.h:290
const Name g_in("g_in")
inhibitory conductance
Definition: nest_names.h:147
Variables_ V_
Definition: aeif_cond_alpha_RK5.h:291
const Name g_ex("g_ex")
Excitatory conductance.
Definition: nest_names.h:146
Buffers_(aeif_cond_alpha_RK5 &)
Sets buffer pointers to 0.
Definition: aeif_cond_alpha_RK5.cpp:226
double_t k7[STATE_VEC_SIZE]
Runge-Kutta variable.
Definition: aeif_cond_alpha_RK5.h:218
double_t tau_syn_in
Inhibitory synaptic rise time.
Definition: aeif_cond_alpha_RK5.h:174
~aeif_cond_alpha_RK5()
Definition: aeif_cond_alpha_RK5.cpp:261
double_t b
Spike-triggered adaptation in pA.
Definition: aeif_cond_alpha_RK5.h:170
double_t g0_ex_
initial value to normalise excitatory synaptic conductance
Definition: aeif_cond_alpha_RK5.h:273
void set_status(const DictionaryDatum &)
Definition: aeif_cond_alpha_RK5.h:343
Map names of recordables to data access functions.
Definition: recordables_map.h:58
const Name w("w")
Specific to Brette & Gerstner 2005 (aeif_cond-*)
Definition: nest_names.h:343
const Name dg_in("dg_in")
Derivative of the inhibitory conductance.
Definition: nest_names.h:98
const Name y("y")
Definition: topology_names.h:52
double_t tau_w
adaptation time-constant in ms.
Definition: aeif_cond_alpha_RK5.h:168
double_t E_L
Leak reversal Potential (aka resting potential) in mV.
Definition: aeif_cond_alpha_RK5.h:166
void get_status(DictionaryDatum &) const
Definition: aeif_cond_alpha_RK5.h:333
Definition: nest_time.h:130
double_t C_m
Membrane Capacitance in pF.
Definition: aeif_cond_alpha_RK5.h:163
State_(const Parameters_ &)
Default initialization.
Definition: aeif_cond_alpha_RK5.cpp:93
std::string get_name() const
Return class name.
Definition: node.cpp:83
int_t RefractoryCounts_
Definition: aeif_cond_alpha_RK5.h:278
friend class UniversalDataLogger< aeif_cond_alpha_RK5 >
Definition: aeif_cond_alpha_RK5.h:150
double_t t_ref_
Refractory period in ms.
Definition: aeif_cond_alpha_RK5.h:160
double_t Delta_T
Slope faktor in ms.
Definition: aeif_cond_alpha_RK5.h:167
const Name dg_ex("dg_ex")
Derivative of the excitatory conductance.
Definition: nest_names.h:97
void set(const DictionaryDatum &)
Set values from dicitonary.
Definition: aeif_cond_alpha_RK5.cpp:145
const Name S("S")
Binary state (output) of neuron (Ginzburg neuron)
Definition: nest_names.h:255
void set_status(const DictionaryDatum &d)
Definition: archiving_node.cpp:185
int_t r_
number of refractory steps remaining
Definition: aeif_cond_alpha_RK5.h:222
Definition: aeif_cond_alpha_RK5.h:207
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: aeif_cond_alpha_RK5.h:299
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: aeif_cond_alpha_RK5.cpp:122
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
Definition: aeif_cond_alpha_RK5.h:204
Definition: aeif_cond_alpha_RK5.h:104
void aeif_cond_alpha_RK5_dynamics(const double *, double *)
Function computing right-hand side of ODE for the ODE solver.
Definition: aeif_cond_alpha_RK5.h:367
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: aeif_cond_alpha_RK5.cpp:483
double_t I_stim_
Input current injected by CurrentEvent.
Definition: aeif_cond_alpha_RK5.h:263
Independent parameters.
Definition: aeif_cond_alpha_RK5.h:157
double_t k5[STATE_VEC_SIZE]
Runge-Kutta variable.
Definition: aeif_cond_alpha_RK5.h:216
static RecordablesMap< aeif_cond_alpha_RK5 > recordablesMap_
Mapping of recordables names to access functions.
Definition: aeif_cond_alpha_RK5.h:295
double_t tau_syn_ex
Excitatory synaptic rise time.
Definition: aeif_cond_alpha_RK5.h:173
RingBuffer spike_inh_
Definition: aeif_cond_alpha_RK5.h:246
a node which archives spike history for the purposes of timing dependent plasticity ...
Definition: archiving_node.h:50
double_t V_peak_
Spike detection threshold in mV.
Definition: aeif_cond_alpha_RK5.h:158
double_t yref[STATE_VEC_SIZE]
4th order update
Definition: aeif_cond_alpha_RK5.h:221
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
RingBuffer currents_
Definition: aeif_cond_alpha_RK5.h:247
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
double double_t
Double precision floating point numbers.
Definition: nest.h:93
Definition: aeif_cond_alpha_RK5.h:208
double_t k6[STATE_VEC_SIZE]
Runge-Kutta variable.
Definition: aeif_cond_alpha_RK5.h:217
virtual port handles_test_event(SpikeEvent &, rport receptor_type)
Check if the node can handle a particular event and receptor type.
Definition: node.cpp:203
void set(const DictionaryDatum &, const Parameters_ &)
Definition: aeif_cond_alpha_RK5.cpp:213
Request data to be logged/logged data to be sent.
Definition: event.h:486
RingBuffer spike_exc_
buffers and sums up incoming spikes/currents
Definition: aeif_cond_alpha_RK5.h:245
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
double_t g_L
Leak Conductance in nS.
Definition: aeif_cond_alpha_RK5.h:162
void get(DictionaryDatum &) const
Definition: aeif_cond_alpha_RK5.cpp:203
Default types used by the NEST kernel.
Buffers of the model.
Definition: aeif_cond_alpha_RK5.h:237
void get_status(DictionaryDatum &d) const
Definition: archiving_node.cpp:175
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: aeif_cond_alpha_RK5.h:308
Event for spike information.
Definition: event.h:320
StateVecElems
Enumeration identifying elements in state array State_::y_.
Definition: aeif_cond_alpha_RK5.h:200
Base class for all NEST network objects.
Definition: node.h:96
Definition: aeif_cond_alpha_RK5.h:202
UniversalDataLogger< aeif_cond_alpha_RK5 > logger_
Logger for all analog data.
Definition: aeif_cond_alpha_RK5.h:242
double_t step_
simulation step size in ms
Definition: aeif_cond_alpha_RK5.h:253
double_t I_e
Intrinsic current in pA.
Definition: aeif_cond_alpha_RK5.h:175
Parameters_ P_
Definition: aeif_cond_alpha_RK5.h:289
double_t k4[STATE_VEC_SIZE]
Runge-Kutta variable.
Definition: aeif_cond_alpha_RK5.h:215
Internal variables of the model.
Definition: aeif_cond_alpha_RK5.h:271
double_t V_th
Spike threshold in mV.
Definition: aeif_cond_alpha_RK5.h:171
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
double_t k2[STATE_VEC_SIZE]
Runge-Kutta variable.
Definition: aeif_cond_alpha_RK5.h:213
double_t HMIN
Smallest permissible stepsize in ms.
Definition: aeif_cond_alpha_RK5.h:177
const double e
Definition: numerics.cpp:62
double IntegrationStep_
current integration time step, updated by solver
Definition: aeif_cond_alpha_RK5.h:254
void calibrate()
Re-calculate dependent parameters of the node.
Definition: aeif_cond_alpha_RK5.cpp:292
double_t a
Subthreshold adaptation in nS.
Definition: aeif_cond_alpha_RK5.h:169
Buffer Layout.
Definition: ring_buffer.h:77
double_t g0_in_
initial value to normalise inhibitory synaptic conductance
Definition: aeif_cond_alpha_RK5.h:276
double_t V_reset_
Reset Potential in mV.
Definition: aeif_cond_alpha_RK5.h:159