23 #ifndef IAF_COND_ALPHA_H
24 #define IAF_COND_ALPHA_H
38 #include <gsl/gsl_errno.h>
39 #include <gsl/gsl_matrix.h>
40 #include <gsl/gsl_odeiv.h>
253 gsl_odeiv_control*
c_;
254 gsl_odeiv_evolve*
e_;
300 template <State_::StateVecElems elem>
332 if (receptor_type != 0)
340 if (receptor_type != 0)
349 if (receptor_type != 0)
385 #endif //IAF_COND_ALPHA_H
Definition: iaf_cond_alpha.h:208
Definition: iaf_cond_alpha.h:207
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
State_ S_
Definition: iaf_cond_alpha.h:310
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.
RingBuffer currents_
Definition: iaf_cond_alpha.h:249
friend int iaf_cond_alpha_dynamics(double, const double *, double *, void *)
Function computing right-hand side of ODE for GSL solver.
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
Parameters_ P_
Definition: iaf_cond_alpha.h:309
double_t V_th
Threshold Potential in mV.
Definition: iaf_cond_alpha.h:172
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
double_t E_in
Inhibitory reversal Potential in mV.
Definition: iaf_cond_alpha.h:178
UniversalDataLogger< iaf_cond_alpha > logger_
Logger for all analog data.
Definition: iaf_cond_alpha.h:244
int iaf_cond_alpha_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
double_t PSConInit_E
Impulse to add to DG_EXC on spike arrival to evoke unit-amplitude conductance excursion.
Definition: iaf_cond_alpha.h:285
StateVecElems
Symbolic indices to the elements of the state vector y.
Definition: iaf_cond_alpha.h:206
port send_test_event(Node &tagret, rport receptor_type, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: iaf_cond_alpha.h:322
void set(const DictionaryDatum &)
Set values from dicitonary.
Definition: iaf_cond_alpha.cpp:192
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 I_e
Constant Current in pA.
Definition: iaf_cond_alpha.h:182
int_t RefractoryCounts
refractory time in steps
Definition: iaf_cond_alpha.h:294
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: iaf_cond_alpha.cpp:274
Model parameters.
Definition: iaf_cond_alpha.h:171
Parameters_()
Set default parameter values.
Definition: iaf_cond_alpha.cpp:111
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: iaf_cond_alpha.cpp:268
void set(const DictionaryDatum &, const Parameters_ &)
Set state from values in dictionary.
Definition: iaf_cond_alpha.cpp:229
double_t I_stim_
Input current injected by CurrentEvent.
Definition: iaf_cond_alpha.h:271
State_(const Parameters_ &)
Default initialization.
Definition: iaf_cond_alpha.cpp:126
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: iaf_cond_alpha.cpp:177
Definition: iaf_cond_alpha.h:208
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: iaf_cond_alpha.cpp:224
Map names of recordables to data access functions.
Definition: recordables_map.h:58
gsl_odeiv_step * s_
stepping function
Definition: iaf_cond_alpha.h:252
friend class UniversalDataLogger< iaf_cond_alpha >
Definition: iaf_cond_alpha.h:164
Definition: nest_time.h:130
double_t tau_synE
Synaptic Time Constant Excitatory Synapse in ms.
Definition: iaf_cond_alpha.h:180
std::string get_name() const
Return class name.
Definition: node.cpp:83
gsl_odeiv_control * c_
adaptive stepsize control function
Definition: iaf_cond_alpha.h:253
void set_status(const DictionaryDatum &d)
Definition: archiving_node.cpp:185
double_t get_y_elem_() const
Read out state vector elements, used by UniversalDataLogger.
Definition: iaf_cond_alpha.h:301
Definition: iaf_cond_alpha.h:206
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
Variables_ V_
Definition: iaf_cond_alpha.h:311
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
Buffers_ B_
Definition: iaf_cond_alpha.h:312
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: iaf_cond_alpha.cpp:327
double_t E_ex
Excitatory reversal Potential in mV.
Definition: iaf_cond_alpha.h:177
double_t C_m
Membrane Capacitance in pF.
Definition: iaf_cond_alpha.h:176
static RecordablesMap< iaf_cond_alpha > recordablesMap_
Mapping of recordables names to access functions.
Definition: iaf_cond_alpha.h:315
iaf_cond_alpha()
Definition: iaf_cond_alpha.cpp:239
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: iaf_cond_alpha.cpp:396
void calibrate()
Re-calculate dependent parameters of the node.
Definition: iaf_cond_alpha.cpp:312
gsl_odeiv_evolve * e_
evolution function
Definition: iaf_cond_alpha.h:254
a node which archives spike history for the purposes of timing dependent plasticity ...
Definition: archiving_node.h:50
gsl_odeiv_system sys_
struct describing system
Definition: iaf_cond_alpha.h:255
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
double_t y[STATE_VEC_SIZE]
state vector, must be C-array for GSL solver
Definition: iaf_cond_alpha.h:212
double_t PSConInit_I
Impulse to add to DG_INH on spike arrival to evoke unit-amplitude conductance excursion.
Definition: iaf_cond_alpha.h:291
Definition: iaf_cond_alpha.h:207
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
double_t g_L
Leak Conductance in nS.
Definition: iaf_cond_alpha.h:175
double double_t
Double precision floating point numbers.
Definition: nest.h:93
Buffers_(iaf_cond_alpha &)
Sets buffer pointers to 0.
Definition: iaf_cond_alpha.cpp:153
double_t t_ref
Refractory period in ms.
Definition: iaf_cond_alpha.h:174
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
State_ & operator=(const State_ &)
Definition: iaf_cond_alpha.cpp:141
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
double_t step_
step size in ms
Definition: iaf_cond_alpha.h:261
Internal variables of the model.
Definition: iaf_cond_alpha.h:280
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
void get_status(DictionaryDatum &) const
Definition: iaf_cond_alpha.h:355
Default types used by the NEST kernel.
void get_status(DictionaryDatum &d) const
Definition: archiving_node.cpp:175
Event for spike information.
Definition: event.h:320
double_t tau_synI
Synaptic Time Constant for Inhibitory Synapse in ms.
Definition: iaf_cond_alpha.h:181
double_t V_reset
Reset Potential in mV.
Definition: iaf_cond_alpha.h:173
RingBuffer spike_exc_
buffers and sums up incoming spikes/currents
Definition: iaf_cond_alpha.h:247
Base class for all NEST network objects.
Definition: node.h:96
Integrate-and-fire neuron model with two conductance-based synapses.
Definition: iaf_cond_alpha.h:116
Definition: iaf_cond_alpha.h:209
double_t E_L
Leak reversal Potential (aka resting potential) in mV.
Definition: iaf_cond_alpha.h:179
double_t get_r_() const
Read out remaining refractory time, used by UniversalDataLogger.
Definition: iaf_cond_alpha.h:304
Buffers of the model.
Definition: iaf_cond_alpha.h:239
~iaf_cond_alpha()
Definition: iaf_cond_alpha.cpp:256
int_t r
Definition: iaf_cond_alpha.h:215
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
double IntegrationStep_
current integration time step, updated by GSL
Definition: iaf_cond_alpha.h:262
const double e
Definition: numerics.cpp:62
void set_status(const DictionaryDatum &)
Definition: iaf_cond_alpha.h:365
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: iaf_cond_alpha.h:330
RingBuffer spike_inh_
Definition: iaf_cond_alpha.h:248
Buffer Layout.
Definition: ring_buffer.h:77
State variables of the model.
Definition: iaf_cond_alpha.h:203