23 #ifndef AEIF_COND_EXP_H
24 #define AEIF_COND_EXP_H
38 #include <gsl/gsl_errno.h>
39 #include <gsl/gsl_matrix.h>
40 #include <gsl/gsl_odeiv.h>
265 gsl_odeiv_control*
c_;
266 gsl_odeiv_evolve*
e_;
299 template <State_::StateVecElems elem>
325 if (receptor_type != 0)
333 if (receptor_type != 0)
342 if (receptor_type != 0)
378 #endif // HAVE_GSL_1_11
379 #endif // AEIF_COND_EXP_H
double_t I_stim_
Input current injected by CurrentEvent.
Definition: aeif_cond_exp.h:283
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
RingBuffer spike_exc_
buffers and sums up incoming spikes/currents
Definition: aeif_cond_exp.h:259
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.
Buffers of the model.
Definition: aeif_cond_exp.h:250
~aeif_cond_exp()
Definition: aeif_cond_exp.cpp:300
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: aeif_cond_exp.cpp:318
Buffers_ B_
Definition: aeif_cond_exp.h:307
double_t t_ref_
Refractory period in ms.
Definition: aeif_cond_exp.h:184
double_t b
Spike-triggered adaptation in pA.
Definition: aeif_cond_exp.h:194
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
int_t r_
number of refractory steps remaining
Definition: aeif_cond_exp.h:235
double_t y_[STATE_VEC_SIZE]
neuron state, must be C-array for GSL solver
Definition: aeif_cond_exp.h:234
double IntegrationStep_
current integration time step, updated by GSL
Definition: aeif_cond_exp.h:274
int_t RefractoryCounts_
Definition: aeif_cond_exp.h:293
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 Delta_T
Slope faktor in ms.
Definition: aeif_cond_exp.h:191
double_t V_peak_
Spike detection threshold in mV.
Definition: aeif_cond_exp.h:182
double_t V_th
Spike threshold in mV.
Definition: aeif_cond_exp.h:195
Definition: aeif_cond_exp.h:227
double_t E_in
Inhibitory reversal Potential in mV.
Definition: aeif_cond_exp.h:189
RingBuffer currents_
Definition: aeif_cond_exp.h:261
double_t tau_w
adaptation time-constant in ms.
Definition: aeif_cond_exp.h:192
gsl_odeiv_step * s_
GSL ODE stuff.
Definition: aeif_cond_exp.h:264
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: aeif_cond_exp.cpp:312
double_t tau_syn_in
Excitatory synaptic rise time.
Definition: aeif_cond_exp.h:198
Map names of recordables to data access functions.
Definition: recordables_map.h:58
State_ & operator=(const State_ &)
Definition: aeif_cond_exp.cpp:161
void set_status(const DictionaryDatum &)
Definition: aeif_cond_exp.h:358
Definition: aeif_cond_exp.h:229
double_t a
Subthreshold adaptation in nS.
Definition: aeif_cond_exp.h:193
Definition: nest_time.h:130
StateVecElems
Enumeration identifying elements in state array State_::y_.
Definition: aeif_cond_exp.h:225
std::string get_name() const
Return class name.
Definition: node.cpp:83
aeif_cond_exp()
Definition: aeif_cond_exp.cpp:283
State variables of the model.
Definition: aeif_cond_exp.h:217
void set_status(const DictionaryDatum &d)
Definition: archiving_node.cpp:185
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: aeif_cond_exp.h:314
Parameters_ P_
Definition: aeif_cond_exp.h:304
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
void update(const Time &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: aeif_cond_exp.cpp:368
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
double_t V_reset_
Reset Potential in mV.
Definition: aeif_cond_exp.h:183
double_t g_L
Leak Conductance in nS.
Definition: aeif_cond_exp.h:186
double_t C_m
Membrane Capacitance in pF.
Definition: aeif_cond_exp.h:187
gsl_odeiv_control * c_
adaptive stepsize control function
Definition: aeif_cond_exp.h:265
friend class UniversalDataLogger< aeif_cond_exp >
Definition: aeif_cond_exp.h:174
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: aeif_cond_exp.h:323
UniversalDataLogger< aeif_cond_exp > logger_
Logger for all analog data.
Definition: aeif_cond_exp.h:256
void set(const DictionaryDatum &)
Set values from dicitonary.
Definition: aeif_cond_exp.cpp:196
static RecordablesMap< aeif_cond_exp > recordablesMap_
Mapping of recordables names to access functions.
Definition: aeif_cond_exp.h:310
Buffers_(aeif_cond_exp &)
Sets buffer pointers to 0.
Definition: aeif_cond_exp.cpp:259
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: aeif_cond_exp.cpp:175
Variables_ V_
Definition: aeif_cond_exp.h:306
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
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: aeif_cond_exp.cpp:434
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
State_(const Parameters_ &)
Default initialization.
Definition: aeif_cond_exp.cpp:146
double double_t
Double precision floating point numbers.
Definition: nest.h:93
double_t step_
step size in ms
Definition: aeif_cond_exp.h:273
void set(const DictionaryDatum &, const Parameters_ &)
Definition: aeif_cond_exp.cpp:248
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
Definition: aeif_cond_exp.h:128
Request data to be logged/logged data to be sent.
Definition: event.h:486
RingBuffer spike_inh_
Definition: aeif_cond_exp.h:260
Parameters_()
Sets default parameter values.
Definition: aeif_cond_exp.cpp:125
Definition: aeif_cond_exp.h:230
double_t E_L
Leak reversal Potential (aka resting potential) in mV.
Definition: aeif_cond_exp.h:190
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
friend int aeif_cond_exp_dynamics(double, const double *, double *, void *)
Function computing right-hand side of ODE for GSL solver.
void calibrate()
Re-calculate dependent parameters of the node.
Definition: aeif_cond_exp.cpp:357
Definition: aeif_cond_exp.h:228
Default types used by the NEST kernel.
void get_status(DictionaryDatum &d) const
Definition: archiving_node.cpp:175
int aeif_cond_exp_dynamics(double, const double *, double *, void *)
Function computing right-hand side of ODE for GSL solver.
Event for spike information.
Definition: event.h:320
double_t tau_syn_ex
Excitatory synaptic rise time.
Definition: aeif_cond_exp.h:197
gsl_odeiv_evolve * e_
evolution function
Definition: aeif_cond_exp.h:266
Base class for all NEST network objects.
Definition: node.h:96
double_t E_ex
Excitatory reversal Potential in mV.
Definition: aeif_cond_exp.h:188
Internal variables of the model.
Definition: aeif_cond_exp.h:291
Independent parameters.
Definition: aeif_cond_exp.h:180
double_t gsl_error_tol
error bound for GSL integrator
Definition: aeif_cond_exp.h:201
double_t t_ref
Refractory period in ms.
Definition: aeif_cond_exp.h:196
gsl_odeiv_system sys_
struct describing system
Definition: aeif_cond_exp.h:267
double_t get_y_elem_() const
Read out state vector elements, used by UniversalDataLogger.
Definition: aeif_cond_exp.h:300
void get(DictionaryDatum &) const
Definition: aeif_cond_exp.cpp:240
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
void get_status(DictionaryDatum &) const
Definition: aeif_cond_exp.h:348
double_t I_e
Intrinsic current in pA.
Definition: aeif_cond_exp.h:199
State_ S_
Definition: aeif_cond_exp.h:305
Buffer Layout.
Definition: ring_buffer.h:77
Definition: aeif_cond_exp.h:231