23 #ifndef IAF_COND_EXP_H
24 #define IAF_COND_EXP_H
38 #include <gsl/gsl_errno.h>
39 #include <gsl/gsl_matrix.h>
40 #include <gsl/gsl_odeiv.h>
214 gsl_odeiv_control*
c_;
215 gsl_odeiv_evolve*
e_;
247 template <State_::StateVecElems elem>
273 if (receptor_type != 0)
281 if (receptor_type != 0)
290 if (receptor_type != 0)
329 #endif //IAF_COND_EXP_H
Variables_ V_
Definition: iaf_cond_exp.h:254
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
~iaf_cond_exp()
Definition: iaf_cond_exp.cpp:239
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.
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
iaf_cond_exp()
Definition: iaf_cond_exp.cpp:222
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: iaf_cond_exp.h:263
StateVecElems
Symbolic indices to the elements of the state vector y.
Definition: iaf_cond_exp.h:178
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
gsl_odeiv_system sys_
struct describing system
Definition: iaf_cond_exp.h:216
int iaf_cond_exp_dynamics(double, const double *, double *, void *)
Function computing right-hand side of ODE for GSL solver.
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
Parameters_()
Sets default parameter values.
Definition: iaf_cond_exp.cpp:98
static RecordablesMap< iaf_cond_exp > recordablesMap_
Mapping of recordables names to access functions.
Definition: iaf_cond_exp.h:258
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: iaf_cond_exp.cpp:373
State_ S_
Definition: iaf_cond_exp.h:253
RingBuffer spike_inh_
Definition: iaf_cond_exp.h:209
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
Buffers_(iaf_cond_exp &)
Sets buffer pointers to 0.
Definition: iaf_cond_exp.cpp:198
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: iaf_cond_exp.cpp:141
double IntegrationStep_
current integration time step, updated by GSL
Definition: iaf_cond_exp.h:223
gsl_odeiv_step * s_
GSL ODE stuff.
Definition: iaf_cond_exp.h:213
State_(const Parameters_ &)
Default initialization.
Definition: iaf_cond_exp.cpp:113
double_t C_m
Membrane Capacitance in pF.
Definition: iaf_cond_exp.h:153
double_t E_in
Inhibitory reversal Potential in mV.
Definition: iaf_cond_exp.h:155
void get(DictionaryDatum &) const
Definition: iaf_cond_exp.cpp:188
Map names of recordables to data access functions.
Definition: recordables_map.h:58
double_t V_th_
Threshold Potential in mV.
Definition: iaf_cond_exp.h:149
Definition: iaf_cond_exp.h:179
double_t E_L
Leak reversal Potential (aka resting potential) in mV.
Definition: iaf_cond_exp.h:156
Definition: nest_time.h:130
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: iaf_cond_exp.h:271
UniversalDataLogger< iaf_cond_exp > logger_
Logger for all analog data.
Definition: iaf_cond_exp.h:205
std::string get_name() const
Return class name.
Definition: node.cpp:83
double_t tau_synE
Synaptic Time Constant Excitatory Synapse in ms.
Definition: iaf_cond_exp.h:157
void set_status(const DictionaryDatum &d)
Definition: archiving_node.cpp:185
double_t step_
step size in ms
Definition: iaf_cond_exp.h:222
int_t RefractoryCounts_
Definition: iaf_cond_exp.h:241
void get_status(DictionaryDatum &) const
Definition: iaf_cond_exp.h:298
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
double_t tau_synI
Synaptic Time Constant for Inhibitory Synapse in ms.
Definition: iaf_cond_exp.h:158
RingBuffer currents_
Definition: iaf_cond_exp.h:210
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: iaf_cond_exp.cpp:306
Definition: iaf_cond_exp.h:180
gsl_odeiv_control * c_
adaptive stepsize control function
Definition: iaf_cond_exp.h:214
double_t get_y_elem_() const
Read out state vector elements, used by UniversalDataLogger.
Definition: iaf_cond_exp.h:248
Buffers of the model.
Definition: iaf_cond_exp.h:200
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: iaf_cond_exp.cpp:257
double_t y_[STATE_VEC_SIZE]
neuron state, must be C-array for GSL solver
Definition: iaf_cond_exp.h:183
a node which archives spike history for the purposes of timing dependent plasticity ...
Definition: archiving_node.h:50
void set(const DictionaryDatum &)
Set values from dicitonary.
Definition: iaf_cond_exp.cpp:156
Buffers_ B_
Definition: iaf_cond_exp.h:255
friend class UniversalDataLogger< iaf_cond_exp >
Definition: iaf_cond_exp.h:141
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
Model parameters.
Definition: iaf_cond_exp.h:148
double_t t_ref_
Refractory period in ms.
Definition: iaf_cond_exp.h:151
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
void calibrate()
Re-calculate dependent parameters of the node.
Definition: iaf_cond_exp.cpp:294
friend int iaf_cond_exp_dynamics(double, const double *, double *, void *)
Function computing right-hand side of ODE for GSL solver.
Definition: iaf_cond_exp.h:181
double double_t
Double precision floating point numbers.
Definition: nest.h:93
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
Request data to be logged/logged data to be sent.
Definition: event.h:486
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: iaf_cond_exp.cpp:251
Internal variables of the model.
Definition: iaf_cond_exp.h:240
void set_status(const DictionaryDatum &)
Definition: iaf_cond_exp.h:308
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
Default types used by the NEST kernel.
void get_status(DictionaryDatum &d) const
Definition: archiving_node.cpp:175
double_t I_stim_
Input current injected by CurrentEvent.
Definition: iaf_cond_exp.h:232
Event for spike information.
Definition: event.h:320
gsl_odeiv_evolve * e_
evolution function
Definition: iaf_cond_exp.h:215
double_t V_reset_
Reset Potential in mV.
Definition: iaf_cond_exp.h:150
Definition: iaf_cond_exp.h:97
Base class for all NEST network objects.
Definition: node.h:96
int_t r_
number of refractory steps remaining
Definition: iaf_cond_exp.h:184
Parameters_ P_
Definition: iaf_cond_exp.h:252
Definition: iaf_cond_exp.h:178
void set(const DictionaryDatum &, const Parameters_ &)
Definition: iaf_cond_exp.cpp:193
double_t g_L
Leak Conductance in nS.
Definition: iaf_cond_exp.h:152
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
RingBuffer spike_exc_
buffers and sums up incoming spikes/currents
Definition: iaf_cond_exp.h:208
State_ & operator=(const State_ &)
Definition: iaf_cond_exp.cpp:127
double_t E_ex
Excitatory reversal Potential in mV.
Definition: iaf_cond_exp.h:154
Buffer Layout.
Definition: ring_buffer.h:77
double_t I_e
Constant Current in pA.
Definition: iaf_cond_exp.h:159
State variables of the model.
Definition: iaf_cond_exp.h:175