23 #ifndef AEIF_COND_ALPHA_H
24 #define AEIF_COND_ALPHA_H
38 #include <gsl/gsl_errno.h>
39 #include <gsl/gsl_matrix.h>
40 #include <gsl/gsl_odeiv.h>
261 gsl_odeiv_control*
c_;
262 gsl_odeiv_evolve*
e_;
300 template <State_::StateVecElems elem>
326 if (receptor_type != 0)
334 if (receptor_type != 0)
343 if (receptor_type != 0)
379 #endif //HAVE_GSL_1_11
380 #endif //AEIF_COND_ALPHA_H
State_ & operator=(const State_ &)
Definition: aeif_cond_alpha.cpp:160
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
double_t t_ref
Refractory period in ms.
Definition: aeif_cond_alpha.h:191
Independent parameters.
Definition: aeif_cond_alpha.h:176
double_t get_y_elem_() const
Read out state vector elements, used by UniversalDataLogger.
Definition: aeif_cond_alpha.h:301
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.
~aeif_cond_alpha()
Definition: aeif_cond_alpha.cpp:305
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
gsl_odeiv_evolve * e_
evolution function
Definition: aeif_cond_alpha.h:262
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Definition: aeif_cond_alpha.h:227
gsl_odeiv_system sys_
struct describing system
Definition: aeif_cond_alpha.h:263
double_t V_peak_
Spike detection threshold in mV.
Definition: aeif_cond_alpha.h:177
double_t tau_w
adaptation time-constant in ms.
Definition: aeif_cond_alpha.h:187
double_t E_ex
Excitatory reversal Potential in mV.
Definition: aeif_cond_alpha.h:183
void calibrate()
Re-calculate dependent parameters of the node.
Definition: aeif_cond_alpha.cpp:362
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
double_t gsl_error_tol
error bound for GSL integrator
Definition: aeif_cond_alpha.h:196
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: aeif_cond_alpha.h:324
double_t g0_ex_
initial value to normalise excitatory synaptic conductance
Definition: aeif_cond_alpha.h:289
Variables_ V_
Definition: aeif_cond_alpha.h:307
Definition: aeif_cond_alpha.h:224
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
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: aeif_cond_alpha.cpp:376
Parameters_ P_
Definition: aeif_cond_alpha.h:305
void set_status(const DictionaryDatum &)
Definition: aeif_cond_alpha.h:359
Buffers_(aeif_cond_alpha &)
Sets buffer pointers to 0.
Definition: aeif_cond_alpha.cpp:264
State_ S_
Definition: aeif_cond_alpha.h:306
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: aeif_cond_alpha.h:315
RingBuffer spike_inh_
Definition: aeif_cond_alpha.h:256
void get(DictionaryDatum &) const
Definition: aeif_cond_alpha.cpp:241
Map names of recordables to data access functions.
Definition: recordables_map.h:58
double_t g0_in_
initial value to normalise inhibitory synaptic conductance
Definition: aeif_cond_alpha.h:292
Definition: nest_time.h:130
std::string get_name() const
Return class name.
Definition: node.cpp:83
double_t step_
step size in ms
Definition: aeif_cond_alpha.h:269
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: aeif_cond_alpha.cpp:317
double_t I_stim_
Input current injected by CurrentEvent.
Definition: aeif_cond_alpha.h:279
double_t y_[STATE_VEC_SIZE]
neuron state, must be C-array for GSL solver
Definition: aeif_cond_alpha.h:231
void set_status(const DictionaryDatum &d)
Definition: archiving_node.cpp:185
State variables of the model.
Definition: aeif_cond_alpha.h:212
double_t b
Spike-triggered adaptation in pA.
Definition: aeif_cond_alpha.h:189
State_(const Parameters_ &)
Default initialization.
Definition: aeif_cond_alpha.cpp:145
StateVecElems
Enumeration identifying elements in state array State_::y_.
Definition: aeif_cond_alpha.h:220
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
Definition: aeif_cond_alpha.h:123
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
Definition: aeif_cond_alpha.h:228
double_t V_th
Spike threshold in mV.
Definition: aeif_cond_alpha.h:190
double_t tau_syn_in
Excitatory synaptic rise time.
Definition: aeif_cond_alpha.h:193
Definition: aeif_cond_alpha.h:222
double_t C_m
Membrane Capacitance in pF.
Definition: aeif_cond_alpha.h:182
Buffers_ B_
Definition: aeif_cond_alpha.h:308
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: aeif_cond_alpha.cpp:323
int_t r_
number of refractory steps remaining
Definition: aeif_cond_alpha.h:232
int aeif_cond_alpha_dynamics(double, const double *, double *, void *)
Function computing right-hand side of ODE for GSL solver.
double_t E_L
Leak reversal Potential (aka resting potential) in mV.
Definition: aeif_cond_alpha.h:185
RingBuffer currents_
Definition: aeif_cond_alpha.h:257
double_t I_e
Intrinsic current in pA.
Definition: aeif_cond_alpha.h:194
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
double_t V_reset_
Reset Potential in mV.
Definition: aeif_cond_alpha.h:178
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
void set(const DictionaryDatum &)
Set values from dicitonary.
Definition: aeif_cond_alpha.cpp:195
Buffers of the model.
Definition: aeif_cond_alpha.h:247
double double_t
Double precision floating point numbers.
Definition: nest.h:93
int_t RefractoryCounts_
Definition: aeif_cond_alpha.h:294
double IntegrationStep_
current integration time step, updated by GSL
Definition: aeif_cond_alpha.h:270
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
Parameters_()
Sets default parameter values.
Definition: aeif_cond_alpha.cpp:124
double_t tau_syn_ex
Excitatory synaptic rise time.
Definition: aeif_cond_alpha.h:192
double_t E_in
Inhibitory reversal Potential in mV.
Definition: aeif_cond_alpha.h:184
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: aeif_cond_alpha.cpp:174
Request data to be logged/logged data to be sent.
Definition: event.h:486
double_t g_L
Leak Conductance in nS.
Definition: aeif_cond_alpha.h:181
RingBuffer spike_exc_
buffers and sums up incoming spikes/currents
Definition: aeif_cond_alpha.h:255
aeif_cond_alpha()
Definition: aeif_cond_alpha.cpp:288
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
static RecordablesMap< aeif_cond_alpha > recordablesMap_
Mapping of recordables names to access functions.
Definition: aeif_cond_alpha.h:311
double_t t_ref_
Refractory period in ms.
Definition: aeif_cond_alpha.h:179
gsl_odeiv_control * c_
adaptive stepsize control function
Definition: aeif_cond_alpha.h:261
Definition: aeif_cond_alpha.h:226
Default types used by the NEST kernel.
void get_status(DictionaryDatum &d) const
Definition: archiving_node.cpp:175
gsl_odeiv_step * s_
GSL ODE stuff.
Definition: aeif_cond_alpha.h:260
Event for spike information.
Definition: event.h:320
Internal variables of the model.
Definition: aeif_cond_alpha.h:287
UniversalDataLogger< aeif_cond_alpha > logger_
Logger for all analog data.
Definition: aeif_cond_alpha.h:252
friend class UniversalDataLogger< aeif_cond_alpha >
Definition: aeif_cond_alpha.h:169
Base class for all NEST network objects.
Definition: node.h:96
void set(const DictionaryDatum &, const Parameters_ &)
Definition: aeif_cond_alpha.cpp:251
Definition: aeif_cond_alpha.h:225
double_t Delta_T
Slope faktor in ms.
Definition: aeif_cond_alpha.h:186
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
double_t a
Subthreshold adaptation in nS.
Definition: aeif_cond_alpha.h:188
void get_status(DictionaryDatum &) const
Definition: aeif_cond_alpha.h:349
friend int aeif_cond_alpha_dynamics(double, const double *, double *, void *)
Function computing right-hand side of ODE for GSL solver.
Definition: aeif_cond_alpha.h:223
Buffer Layout.
Definition: ring_buffer.h:77
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: aeif_cond_alpha.cpp:445