23 #ifndef IAF_COND_EXP_SFA_RR_H
24 #define IAF_COND_EXP_SFA_RR_H
38 #include <gsl/gsl_errno.h>
39 #include <gsl/gsl_matrix.h>
40 #include <gsl/gsl_odeiv.h>
247 gsl_odeiv_control*
c_;
248 gsl_odeiv_evolve*
e_;
280 template <State_::StateVecElems elem>
306 if (receptor_type != 0)
314 if (receptor_type != 0)
323 if (receptor_type != 0)
361 #endif //IAF_COND_EXP_SFA_RR_H
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: iaf_cond_exp_sfa_rr.cpp:290
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.
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: iaf_cond_exp_sfa_rr.cpp:157
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
State_ S_
Definition: iaf_cond_exp_sfa_rr.h:286
double_t I_e
Constant Current in pA.
Definition: iaf_cond_exp_sfa_rr.h:181
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
iaf_cond_exp_sfa_rr()
Definition: iaf_cond_exp_sfa_rr.cpp:261
UniversalDataLogger< iaf_cond_exp_sfa_rr > logger_
Logger for all analog data.
Definition: iaf_cond_exp_sfa_rr.h:238
~iaf_cond_exp_sfa_rr()
Definition: iaf_cond_exp_sfa_rr.cpp:278
double_t E_sfa
spike-frequency adaptation (sfa) reversal Potential in mV
Definition: iaf_cond_exp_sfa_rr.h:184
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
Buffers_ B_
Definition: iaf_cond_exp_sfa_rr.h:288
Definition: iaf_cond_exp_sfa_rr.h:209
int_t RefractoryCounts_
Definition: iaf_cond_exp_sfa_rr.h:274
double_t V_th_
Threshold Potential in mV.
Definition: iaf_cond_exp_sfa_rr.h:171
gsl_odeiv_system sys_
struct describing system
Definition: iaf_cond_exp_sfa_rr.h:249
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: iaf_cond_exp_sfa_rr.cpp:415
Definition: iaf_cond_exp_sfa_rr.h:119
gsl_odeiv_step * s_
GSL ODE stuff.
Definition: iaf_cond_exp_sfa_rr.h:246
Internal variables of the model.
Definition: iaf_cond_exp_sfa_rr.h:273
void set(const DictionaryDatum &)
Set values from dicitonary.
Definition: iaf_cond_exp_sfa_rr.cpp:179
double_t E_rr
relative refractory (rr) reversal Potential in mV
Definition: iaf_cond_exp_sfa_rr.h:185
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 C_m
Membrane Capacitance in pF.
Definition: iaf_cond_exp_sfa_rr.h:175
Definition: iaf_cond_exp_sfa_rr.h:208
Definition: iaf_cond_exp_sfa_rr.h:213
void set_status(const DictionaryDatum &)
Definition: iaf_cond_exp_sfa_rr.h:340
double_t tau_synE
Synaptic Time Constant Excitatory Synapse in ms.
Definition: iaf_cond_exp_sfa_rr.h:179
static RecordablesMap< iaf_cond_exp_sfa_rr > recordablesMap_
Mapping of recordables names to access functions.
Definition: iaf_cond_exp_sfa_rr.h:291
Parameters_ P_
Definition: iaf_cond_exp_sfa_rr.h:285
int iaf_cond_exp_sfa_rr_dynamics(double, const double *, double *, void *)
Function computing right-hand side of ODE for GSL solver.
Definition: iaf_cond_exp_sfa_rr.h:211
double_t V_reset_
Reset Potential in mV.
Definition: iaf_cond_exp_sfa_rr.h:172
Definition: iaf_cond_exp_sfa_rr.h:210
double IntegrationStep_
current integration time step, updated by GSL
Definition: iaf_cond_exp_sfa_rr.h:256
double_t E_L
Leak reversal Potential (aka resting potential) in mV.
Definition: iaf_cond_exp_sfa_rr.h:178
Map names of recordables to data access functions.
Definition: recordables_map.h:58
State_ & operator=(const State_ &)
Definition: iaf_cond_exp_sfa_rr.cpp:143
Definition: nest_time.h:130
std::string get_name() const
Return class name.
Definition: node.cpp:83
State variables of the model.
Definition: iaf_cond_exp_sfa_rr.h:203
friend int iaf_cond_exp_sfa_rr_dynamics(double, const double *, double *, void *)
Function computing right-hand side of ODE for GSL solver.
void set_status(const DictionaryDatum &d)
Definition: archiving_node.cpp:185
Independent parameters.
Definition: iaf_cond_exp_sfa_rr.h:170
void calibrate()
Re-calculate dependent parameters of the node.
Definition: iaf_cond_exp_sfa_rr.cpp:333
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
Buffers of the model.
Definition: iaf_cond_exp_sfa_rr.h:233
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
double_t tau_rr
relative refractory (rr) time constant
Definition: iaf_cond_exp_sfa_rr.h:183
double_t y_[STATE_VEC_SIZE]
neuron state, must be C-array for GSL solver
Definition: iaf_cond_exp_sfa_rr.h:216
double_t tau_synI
Synaptic Time Constant for Inhibitory Synapse in ms.
Definition: iaf_cond_exp_sfa_rr.h:180
gsl_odeiv_control * c_
adaptive stepsize control function
Definition: iaf_cond_exp_sfa_rr.h:247
Variables_ V_
Definition: iaf_cond_exp_sfa_rr.h:287
a node which archives spike history for the purposes of timing dependent plasticity ...
Definition: archiving_node.h:50
double I_stim_
Input current injected by CurrentEvent.
Definition: iaf_cond_exp_sfa_rr.h:265
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
double_t E_ex
Excitatory reversal Potential in mV.
Definition: iaf_cond_exp_sfa_rr.h:176
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: iaf_cond_exp_sfa_rr.h:304
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
double_t E_in
Inhibitory reversal Potential in mV.
Definition: iaf_cond_exp_sfa_rr.h:177
Parameters_()
Sets default parameter values.
Definition: iaf_cond_exp_sfa_rr.cpp:107
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
double_t q_rr
relative refractory (rr) quantal conductance increase in nS
Definition: iaf_cond_exp_sfa_rr.h:187
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: iaf_cond_exp_sfa_rr.h:296
RingBuffer currents_
Definition: iaf_cond_exp_sfa_rr.h:243
RingBuffer spike_exc_
buffers and sums up incoming spikes/currents
Definition: iaf_cond_exp_sfa_rr.h:241
void set(const DictionaryDatum &, const Parameters_ &)
Definition: iaf_cond_exp_sfa_rr.cpp:228
Definition: iaf_cond_exp_sfa_rr.h:212
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
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: iaf_cond_exp_sfa_rr.cpp:345
RingBuffer spike_inh_
Definition: iaf_cond_exp_sfa_rr.h:242
double_t q_sfa
spike-frequency adaptation (sfa) quantal conductance increase in nS
Definition: iaf_cond_exp_sfa_rr.h:186
void get_status(DictionaryDatum &) const
Definition: iaf_cond_exp_sfa_rr.h:330
Base class for all NEST network objects.
Definition: node.h:96
int_t r_
number of refractory steps remaining
Definition: iaf_cond_exp_sfa_rr.h:217
double_t t_ref_
Refractory period in ms.
Definition: iaf_cond_exp_sfa_rr.h:173
friend class UniversalDataLogger< iaf_cond_exp_sfa_rr >
Definition: iaf_cond_exp_sfa_rr.h:163
gsl_odeiv_evolve * e_
evolution function
Definition: iaf_cond_exp_sfa_rr.h:248
double_t step_
step size in ms
Definition: iaf_cond_exp_sfa_rr.h:255
double_t g_L
Leak Conductance in nS.
Definition: iaf_cond_exp_sfa_rr.h:174
State_(const Parameters_ &)
Default initialization.
Definition: iaf_cond_exp_sfa_rr.cpp:128
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
StateVecElems
Symbolic indices to the elements of the state vector y.
Definition: iaf_cond_exp_sfa_rr.h:206
const double e
Definition: numerics.cpp:62
double_t get_y_elem_() const
Read out state vector elements, used by UniversalDataLogger.
Definition: iaf_cond_exp_sfa_rr.h:281
Buffers_(iaf_cond_exp_sfa_rr &)
Sets buffer pointers to 0.
Definition: iaf_cond_exp_sfa_rr.cpp:237
double_t tau_sfa
spike-frequency adaptation (sfa) time constant
Definition: iaf_cond_exp_sfa_rr.h:182
Buffer Layout.
Definition: ring_buffer.h:77
void get(DictionaryDatum &) const
Definition: iaf_cond_exp_sfa_rr.cpp:218
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: iaf_cond_exp_sfa_rr.cpp:296