23 #ifndef HH_COND_EXP_TRAUB_H
24 #define HH_COND_EXP_TRAUB_H
38 #include <gsl/gsl_odeiv.h>
250 gsl_odeiv_control*
c_;
251 gsl_odeiv_evolve*
e_;
274 template <State_::StateVecElems elem>
299 if (receptor_type != 0)
307 if (receptor_type != 0)
316 if (receptor_type != 0)
359 #endif //HH_COND_EXP_TRAUB_H
const Name recordables("recordables")
List of recordable state data (Device parameters)
Definition: nest_names.h:244
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: hh_cond_exp_traub.cpp:305
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.
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
double IntegrationStep_
current integration time step, updated by GSL
Definition: hh_cond_exp_traub.h:259
Parameters_()
Definition: hh_cond_exp_traub.cpp:127
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Buffers of the model.
Definition: hh_cond_exp_traub.h:236
void get(DictionaryDatum &) const
Definition: hh_cond_exp_traub.cpp:226
double g_Na
Sodium Conductance in nS.
Definition: hh_cond_exp_traub.h:167
RingBuffer currents_
Definition: hh_cond_exp_traub.h:246
State variables of the model.
Definition: hh_cond_exp_traub.h:197
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: hh_cond_exp_traub.cpp:352
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
Definition: hh_cond_exp_traub.h:205
double I_e
External Current in pA.
Definition: hh_cond_exp_traub.h:182
Definition: hh_cond_exp_traub.h:202
StateVecElems
Symbolic indices to the elements of the state vector y.
Definition: hh_cond_exp_traub.h:200
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
gsl_odeiv_step * s_
GSL ODE stuff.
Definition: hh_cond_exp_traub.h:249
double_t get_y_elem_() const
Read out state vector elements, used by UniversalDataLogger.
Definition: hh_cond_exp_traub.h:275
double tau_synE
Synaptic Time Constant Excitatory Synapse in ms.
Definition: hh_cond_exp_traub.h:180
Internal variables of the model.
Definition: hh_cond_exp_traub.h:226
double V_T
Voltage offset for dynamics (adjusts threshold to around -50 mV)
Definition: hh_cond_exp_traub.h:176
Parameters_ P_
Definition: hh_cond_exp_traub.h:277
double_t I_stim_
Input current injected by CurrentEvent.
Definition: hh_cond_exp_traub.h:268
Definition: hh_cond_exp_traub.h:110
friend class UniversalDataLogger< hh_cond_exp_traub >
Definition: hh_cond_exp_traub.h:157
Map names of recordables to data access functions.
Definition: recordables_map.h:58
RingBuffer spike_inh_
Definition: hh_cond_exp_traub.h:245
Definition: hh_cond_exp_traub.h:203
int hh_cond_exp_traub_dynamics(double, const double y[], double f[], void *pnode)
Definition: hh_cond_exp_traub.cpp:72
gsl_odeiv_system sys_
struct describing system
Definition: hh_cond_exp_traub.h:252
Definition: nest_time.h:130
double E_in
Inhibitory reversal Potential in mV.
Definition: hh_cond_exp_traub.h:179
std::string get_name() const
Return class name.
Definition: node.cpp:83
void calibrate()
Re-calculate dependent parameters of the node.
Definition: hh_cond_exp_traub.cpp:342
Independent parameters of the model.
Definition: hh_cond_exp_traub.h:166
static RecordablesMap< hh_cond_exp_traub > recordablesMap_
Mapping of recordables names to access functions.
Definition: hh_cond_exp_traub.h:283
double_t step_
step size in ms
Definition: hh_cond_exp_traub.h:258
UniversalDataLogger< hh_cond_exp_traub > logger_
Logger for all analog data.
Definition: hh_cond_exp_traub.h:241
void set_status(const DictionaryDatum &d)
Definition: archiving_node.cpp:185
double y_[STATE_VEC_SIZE]
neuron state, must be C-array for GSL solver
Definition: hh_cond_exp_traub.h:209
Variables_ V_
Definition: hh_cond_exp_traub.h:279
Definition: hh_cond_exp_traub.h:204
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
double E_L
Leak Reversal Potential in mV.
Definition: hh_cond_exp_traub.h:174
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
double U_old_
Definition: hh_cond_exp_traub.h:228
int_t RefractoryCounts_
Definition: hh_cond_exp_traub.h:227
gsl_odeiv_control * c_
adaptive stepsize control function
Definition: hh_cond_exp_traub.h:250
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: hh_cond_exp_traub.cpp:411
gsl_odeiv_evolve * e_
evolution function
Definition: hh_cond_exp_traub.h:251
double E_Na
Sodium Reversal Potential in mV.
Definition: hh_cond_exp_traub.h:172
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: hh_cond_exp_traub.h:297
double C_m
Membrane Capacitance in pF.
Definition: hh_cond_exp_traub.h:170
void set_status(const DictionaryDatum &)
Definition: hh_cond_exp_traub.h:334
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: hh_cond_exp_traub.cpp:299
~hh_cond_exp_traub()
Definition: hh_cond_exp_traub.cpp:287
int_t r_
number of refractory steps remaining
Definition: hh_cond_exp_traub.h:210
a node which archives spike history for the purposes of timing dependent plasticity ...
Definition: archiving_node.h:50
void set(const DictionaryDatum &, const Parameters_ &)
Definition: hh_cond_exp_traub.cpp:234
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
Buffers_(hh_cond_exp_traub &)
Sets buffer pointers to 0.
Definition: hh_cond_exp_traub.cpp:246
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
friend int hh_cond_exp_traub_dynamics(double, const double *, double *, void *)
Function computing right-hand side of ODE for GSL solver.
double g_K
Potassium Conductance in nS.
Definition: hh_cond_exp_traub.h:168
double double_t
Double precision floating point numbers.
Definition: nest.h:93
double E_ex
Excitatory reversal Potential in mV.
Definition: hh_cond_exp_traub.h:178
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 g_L
Leak Conductance in nS.
Definition: hh_cond_exp_traub.h:169
RingBuffer spike_exc_
buffers and sums up incoming spikes/currents
Definition: hh_cond_exp_traub.h:244
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
double tau_synI
Synaptic Time Constant Inhibitory Synapse in ms.
Definition: hh_cond_exp_traub.h:181
Definition: hh_cond_exp_traub.h:206
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: hh_cond_exp_traub.cpp:186
Buffers_ B_
Definition: hh_cond_exp_traub.h:280
Definition: hh_cond_exp_traub.h:201
Default types used by the NEST kernel.
void get_status(DictionaryDatum &d) const
Definition: archiving_node.cpp:175
State_ S_
Definition: hh_cond_exp_traub.h:278
Event for spike information.
Definition: event.h:320
Base class for all NEST network objects.
Definition: node.h:96
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: hh_cond_exp_traub.h:287
State_(const Parameters_ &p)
Definition: hh_cond_exp_traub.cpp:144
double_t get_spiketime_ms() const
Definition: archiving_node.h:163
double E_K
Potassium Reversal Potential in mV.
Definition: hh_cond_exp_traub.h:173
const Name p("p")
current release probability (Tsodyks2_connection)
Definition: nest_names.h:218
hh_cond_exp_traub()
Definition: hh_cond_exp_traub.cpp:270
void get_status(DictionaryDatum &) const
Definition: hh_cond_exp_traub.h:322
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
State_ & operator=(const State_ &s)
Definition: hh_cond_exp_traub.cpp:172
Buffer Layout.
Definition: ring_buffer.h:77
const Name t_spike("t_spike")
Time of last spike.
Definition: nest_names.h:281
void set(const DictionaryDatum &)
Set values from dicitonary.
Definition: hh_cond_exp_traub.cpp:203
Definition: hh_cond_exp_traub.h:200