23 #ifndef IAF_CHXK_2008_H
24 #define IAF_CHXK_2008_H
38 #include <gsl/gsl_errno.h>
39 #include <gsl/gsl_matrix.h>
40 #include <gsl/gsl_odeiv.h>
243 gsl_odeiv_control*
c_;
244 gsl_odeiv_evolve*
e_;
293 template <State_::StateVecElems elem>
331 if (receptor_type != 0)
339 if (receptor_type != 0)
348 if (receptor_type != 0)
386 #endif //IAF_CHXK_2008_H
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
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.
Definition: iaf_chxk_2008.h:196
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
Definition: lockptrdatum.h:40
Definition: iaf_chxk_2008.h:195
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
iaf_chxk_2008()
Definition: iaf_chxk_2008.cpp:232
gsl_odeiv_step * s_
stepping function
Definition: iaf_chxk_2008.h:242
double IntegrationStep_
current integration time step, updated by GSL
Definition: iaf_chxk_2008.h:252
gsl_odeiv_control * c_
adaptive step size control function
Definition: iaf_chxk_2008.h:243
UniversalDataLogger< iaf_chxk_2008 > logger_
Logger for all analog data.
Definition: iaf_chxk_2008.h:234
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
double_t E_in
Inhibitory reversal Potential in mV.
Definition: iaf_chxk_2008.h:164
double_t g_ahp
AHP conductance.
Definition: iaf_chxk_2008.h:170
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: iaf_chxk_2008.cpp:219
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: iaf_chxk_2008.cpp:254
gsl_odeiv_system sys_
struct describing system
Definition: iaf_chxk_2008.h:245
void set(const DictionaryDatum &)
Set values from dictionary.
Definition: iaf_chxk_2008.cpp:196
double_t PSConInit_AHP
Impulse to add to DG_AHP on spike generation to evoke unit-amplitude conductance excursion.
Definition: iaf_chxk_2008.h:287
double_t E_L
Leak reversal Potential (a.k.a. resting potential) in mV.
Definition: iaf_chxk_2008.h:165
void calibrate()
Re-calculate dependent parameters of the node.
Definition: iaf_chxk_2008.cpp:296
Event for electrical currents.
Definition: event.h:420
Integrate-and-fire neuron model with two conductance-based synapses.
Definition: iaf_chxk_2008.h:104
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
double_t get_r_() const
Read out remaining refractory time, used by UniversalDataLogger.
Definition: iaf_chxk_2008.h:297
Parameters_()
Set default parameter values.
Definition: iaf_chxk_2008.cpp:117
double_t PSConInit_E
Impulse to add to DG_EXC on spike arrival to evoke unit-amplitude conductance excursion.
Definition: iaf_chxk_2008.h:275
double_t E_ahp
AHP potential.
Definition: iaf_chxk_2008.h:171
friend class UniversalDataLogger< iaf_chxk_2008 >
Definition: iaf_chxk_2008.h:152
double_t get_I_syn_exc_() const
Definition: iaf_chxk_2008.h:299
bool is_off_grid() const
Returns true if the node if it sends/receives -grid events This is used to discriminate between diffe...
Definition: iaf_chxk_2008.h:124
double_t V_th
Threshold Potential in mV.
Definition: iaf_chxk_2008.h:160
double_t y[STATE_VEC_SIZE]
state vector, must be C-array for GSL solver
Definition: iaf_chxk_2008.h:202
Definition: iaf_chxk_2008.h:196
Definition: iaf_chxk_2008.h:198
void set_status(const DictionaryDatum &)
Definition: iaf_chxk_2008.h:364
State_ S_
Definition: iaf_chxk_2008.h:308
Map names of recordables to data access functions.
Definition: recordables_map.h:58
Definition: iaf_chxk_2008.h:197
RingBuffer spike_exc_
buffers and sums up incoming spikes/currents
Definition: iaf_chxk_2008.h:237
Parameters_ P_
Definition: iaf_chxk_2008.h:307
Definition: nest_time.h:130
std::string get_name() const
Return class name.
Definition: node.cpp:83
Definition: iaf_chxk_2008.h:197
RingBuffer currents_
Definition: iaf_chxk_2008.h:239
void set_status(const DictionaryDatum &d)
Definition: archiving_node.cpp:185
State_ & operator=(const State_ &)
Definition: iaf_chxk_2008.cpp:152
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
double_t PSConInit_I
Impulse to add to DG_INH on spike arrival to evoke unit-amplitude conductance excursion.
Definition: iaf_chxk_2008.h:281
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
Variables_ V_
Definition: iaf_chxk_2008.h:309
State variables of the model.
Definition: iaf_chxk_2008.h:192
double_t get_y_elem_() const
Read out state vector elements, used by UniversalDataLogger.
Definition: iaf_chxk_2008.h:294
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: iaf_chxk_2008.cpp:308
void set(const DictionaryDatum &, const Parameters_ &)
Set state from values in dictionary.
Definition: iaf_chxk_2008.cpp:223
a node which archives spike history for the purposes of timing dependent plasticity ...
Definition: archiving_node.h:50
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
Internal variables of the model.
Definition: iaf_chxk_2008.h:270
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
double_t g_L
Leak Conductance in nS.
Definition: iaf_chxk_2008.h:161
double double_t
Double precision floating point numbers.
Definition: nest.h:93
double_t C_m
Membrane Capacitance in pF.
Definition: iaf_chxk_2008.h:162
Model parameters.
Definition: iaf_chxk_2008.h:159
double_t tau_synE
Synaptic Time Constant Excitatory Synapse in ms.
Definition: iaf_chxk_2008.h:166
void get_status(DictionaryDatum &) const
Definition: iaf_chxk_2008.h:354
State_(const Parameters_ &)
Default initialization.
Definition: iaf_chxk_2008.cpp:139
bool ahp_bug
If true, discard AHP conductance value from previous spikes.
Definition: iaf_chxk_2008.h:172
double_t tau_ahp
Afterhyperpolarization (AHP) time constant.
Definition: iaf_chxk_2008.h:169
double_t I_e
Constant Current in pA.
Definition: iaf_chxk_2008.h:168
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
double_t E_ex
Excitatory reversal Potential in mV.
Definition: iaf_chxk_2008.h:163
Definition: iaf_chxk_2008.h:198
friend int iaf_chxk_2008_dynamics(double, const double *, double *, void *)
Function computing right-hand side of ODE for GSL solver.
int iaf_chxk_2008_dynamics(double, const double *, double *, void *)
Function computing right-hand side of ODE for GSL solver.
double_t get_ms() const
Definition: nest_time.h:389
Request data to be logged/logged data to be sent.
Definition: event.h:486
static Time get_resolution()
Definition: nest_time.h:303
static RecordablesMap< iaf_chxk_2008 > recordablesMap_
Mapping of recordables names to access functions.
Definition: iaf_chxk_2008.h:313
Buffers_(iaf_chxk_2008 &)
Sets buffer pointers to 0.
Definition: iaf_chxk_2008.cpp:164
double_t I_stim_
Input current injected by CurrentEvent.
Definition: iaf_chxk_2008.h:261
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
Buffers of the model.
Definition: iaf_chxk_2008.h:229
Definition: iaf_chxk_2008.h:199
Default types used by the NEST kernel.
void get_status(DictionaryDatum &d) const
Definition: archiving_node.cpp:175
double_t tau_synI
Synaptic Time Constant for Inhibitory Synapse in ms.
Definition: iaf_chxk_2008.h:167
Event for spike information.
Definition: event.h:320
Base class for all NEST network objects.
Definition: node.h:96
~iaf_chxk_2008()
Definition: iaf_chxk_2008.cpp:240
int_t r
Definition: iaf_chxk_2008.h:205
double_t get_I_syn_inh_() const
Definition: iaf_chxk_2008.h:300
double_t step_
step size in ms
Definition: iaf_chxk_2008.h:251
RingBuffer spike_inh_
Definition: iaf_chxk_2008.h:238
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: iaf_chxk_2008.cpp:180
StateVecElems
Symbolic indices to the elements of the state vector y.
Definition: iaf_chxk_2008.h:195
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: iaf_chxk_2008.cpp:388
Buffers_ B_
Definition: iaf_chxk_2008.h:310
double_t get_I_ahp_() const
Definition: iaf_chxk_2008.h:301
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: iaf_chxk_2008.cpp:259
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
gsl_odeiv_evolve * e_
evolution function
Definition: iaf_chxk_2008.h:244
Buffer Layout.
Definition: ring_buffer.h:77
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: iaf_chxk_2008.h:320
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: iaf_chxk_2008.h:329