38 #include <gsl/gsl_errno.h>
39 #include <gsl/gsl_matrix.h>
40 #include <gsl/gsl_odeiv.h>
309 gsl_odeiv_control*
c_;
310 gsl_odeiv_evolve*
e_;
345 template <State_::StateVecElems_ elem>
385 return receptor_type - 1;
398 if (receptor_type != 0)
407 if (receptor_type != 0)
double_t GABA_B_Tau_2
Definition: ht_neuron.h:226
double_t NaP_g_peak
Definition: ht_neuron.h:230
int int_t
Integer number with at least 16 bit.
Definition: nest.h:95
RingBuffer currents_
Definition: ht_neuron.h:305
Definition of Archiving_Node which is capable of recording and managing a spike history.
double_t NMDA_Sact
mV, scale of inactivation
Definition: ht_neuron.h:217
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
Definition: ht_neuron.h:259
double_t h_E_rev
Definition: ht_neuron.h:240
double_t GABA_B_Tau_1
Definition: ht_neuron.h:225
static RecordablesMap< ht_neuron > recordablesMap_
Definition: ht_neuron.h:354
Internal variables of the model.
Definition: ht_neuron.h:335
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
Parameters_()
Definition: ht_neuron.cpp:171
double_t get_g_spike_() const
Definition: ht_neuron.h:348
double_t GABA_A_E_rev
Definition: ht_neuron.h:222
double_t Theta_eq
Definition: ht_neuron.h:194
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: ht_neuron.cpp:430
Definition: ht_neuron.h:252
int ht_neuron_dynamics(double, const double y[], double f[], void *pnode)
Definition: ht_neuron.cpp:61
double_t I_NaP_
Persistent Na current; member only to allow recording.
Definition: ht_neuron.h:270
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
friend class UniversalDataLogger< ht_neuron >
Definition: ht_neuron.h:289
Definition: ht_neuron.h:162
~State_()
Definition: ht_neuron.cpp:271
void set(const DictionaryDatum &)
Set values from dicitonary.
Definition: ht_neuron.cpp:318
Definition: ht_neuron.h:162
gsl_odeiv_system sys_
struct describing system
Definition: ht_neuron.h:311
void calibrate()
Re-calculate dependent parameters of the node.
Definition: ht_neuron.cpp:490
double_t g_KL
Definition: ht_neuron.h:190
State_ & operator=(const State_ &s)
Definition: ht_neuron.cpp:251
double_t Tau_theta
Definition: ht_neuron.h:195
UniversalDataLogger< ht_neuron > logger_
Definition: ht_neuron.h:301
friend int ht_neuron_dynamics(double, const double *, double *, void *)
Function computing right-hand side of ODE for GSL solver.
double_t GABA_B_E_rev
Definition: ht_neuron.h:227
Definition: ht_neuron.h:254
double_t KNa_g_peak
Definition: ht_neuron.h:233
double_t T_E_rev
Definition: ht_neuron.h:237
bool g_spike_
Definition: ht_neuron.h:268
Map names of recordables to data access functions.
Definition: recordables_map.h:58
double_t get_synapse_constant(double_t, double_t, double_t)
Definition: ht_neuron.cpp:473
void set(const DictionaryDatum &, const Parameters_ &)
Definition: ht_neuron.cpp:363
Definition: nest_time.h:130
double IntegrationStep_
current integration time step, updated by GSL
Definition: ht_neuron.h:318
double_t AMPA_E_rev
Definition: ht_neuron.h:210
double_t T_g_peak
Definition: ht_neuron.h:236
double_t NMDA_Tau_2
Definition: ht_neuron.h:214
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: ht_neuron.cpp:554
std::string get_name() const
Return class name.
Definition: node.cpp:83
double_t h_g_peak
Definition: ht_neuron.h:239
Definition: ht_neuron.h:255
Definition: ht_neuron.h:256
Buffers_ B_
Definition: ht_neuron.h:359
Buffers_(ht_neuron &)
Definition: ht_neuron.cpp:370
Definition: ht_neuron.h:255
Buffers of the model.
Definition: ht_neuron.h:297
double_t GABA_A_g_peak
Definition: ht_neuron.h:219
double_t NaP_E_rev
Definition: ht_neuron.h:231
void init_state_(const Node &proto)
Private function to initialize the state of a node to model defaults.
Definition: ht_neuron.cpp:424
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
Definition: ht_neuron.h:253
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
SynapseTypes
Synapse types to connect to.
Definition: ht_neuron.h:161
double_t get_I_T_() const
Definition: ht_neuron.h:351
Definition: ht_neuron.h:260
Definition: ht_neuron.h:257
double_t get_I_h_() const
Definition: ht_neuron.h:352
double_t I_T_
Low-thresh Ca current; member only to allow recording.
Definition: ht_neuron.h:272
double_t y_[STATE_VEC_SIZE]
neuron state, must be C-array for GSL solver
Definition: ht_neuron.h:263
double_t Tau_spike
Definition: ht_neuron.h:198
double_t get_y_elem_() const
Definition: ht_neuron.h:346
ht_neuron()
Definition: ht_neuron.cpp:396
double_t E_K
Definition: ht_neuron.h:188
State_()
Definition: ht_neuron.cpp:209
Independent parameters of the model.
Definition: ht_neuron.h:185
double_t I_h_
Pacemaker current; member only to allow recording.
Definition: ht_neuron.h:273
double_t GABA_A_Tau_2
Definition: ht_neuron.h:221
a node which archives spike history for the purposes of timing dependent plasticity ...
Definition: archiving_node.h:50
double_t I_KNa_
Depol act. K current; member only to allow recording.
Definition: ht_neuron.h:271
gsl_odeiv_evolve * e_
evolution function
Definition: ht_neuron.h:310
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
~ht_neuron()
Definition: ht_neuron.cpp:412
gsl_odeiv_control * c_
adaptive stepsize control function
Definition: ht_neuron.h:309
double_t NMDA_E_rev
Definition: ht_neuron.h:215
double_t I_stim_
Input current injected by CurrentEvent.
Definition: ht_neuron.h:327
double_t AMPA_Tau_1
Definition: ht_neuron.h:208
double_t get_I_KNa_() const
Definition: ht_neuron.h:350
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
std::vector< double_t > cond_steps_
size of conductance steps for arriving spikes
Definition: ht_neuron.h:337
double double_t
Double precision floating point numbers.
Definition: nest.h:93
double_t Tau_m
Definition: ht_neuron.h:191
Definition: ht_neuron.h:258
double_t AMPA_Tau_2
Definition: ht_neuron.h:209
Definition: ht_neuron.h:257
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
double_t GABA_B_g_peak
Definition: ht_neuron.h:224
Request data to be logged/logged data to be sent.
Definition: event.h:486
double_t g_NaL
Definition: ht_neuron.h:189
double_t NMDA_Vact
mV, inactive for V << Vact, inflection of sigmoid
Definition: ht_neuron.h:216
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
State variables of the model.
Definition: ht_neuron.h:249
double_t KNa_E_rev
Definition: ht_neuron.h:234
double_t get_I_NaP_() const
Definition: ht_neuron.h:349
Definition: ht_neuron.h:161
double_t NMDA_g_peak
Definition: ht_neuron.h:212
double_t get_r_potassium_() const
Definition: ht_neuron.h:347
void get_status(DictionaryDatum &) const
Definition: ht_neuron.cpp:515
State_ S_
Definition: ht_neuron.h:357
Event for spike information.
Definition: event.h:320
StateVecElems_
Definition: ht_neuron.h:252
double_t NMDA_Tau_1
Definition: ht_neuron.h:213
double_t t_spike
Definition: ht_neuron.h:199
int_t PotassiumRefractoryCounts_
Duration of potassium current.
Definition: ht_neuron.h:340
Base class for all NEST network objects.
Definition: node.h:96
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: ht_neuron.h:374
int_t r_potassium_
Definition: ht_neuron.h:266
gsl_odeiv_step * s_
GSL ODE stuff.
Definition: ht_neuron.h:308
Variables_ V_
Definition: ht_neuron.h:358
Definition: ht_neuron.h:163
double_t step_
step size in ms
Definition: ht_neuron.h:317
Definition: ht_neuron.h:259
Definition: ht_neuron.h:254
const Name p("p")
current release probability (Tsodyks2_connection)
Definition: nest_names.h:218
Definition: ht_neuron.h:256
Definition: ht_neuron.h:162
Definition: ht_neuron.h:261
void set_status(const DictionaryDatum &)
Definition: ht_neuron.cpp:532
void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: ht_neuron.cpp:613
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
Definition: ht_neuron.h:162
double_t GABA_A_Tau_1
Definition: ht_neuron.h:220
double_t E_Na
Definition: ht_neuron.h:187
Parameters_ P_
Definition: ht_neuron.h:356
Buffer Layout.
Definition: ring_buffer.h:77
std::vector< RingBuffer > spike_inputs_
buffers and sums up incoming spikes/currents
Definition: ht_neuron.h:304
double_t AMPA_g_peak
Definition: ht_neuron.h:207
Definition: ht_neuron.h:128
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: ht_neuron.h:364