23#ifndef HH_COND_EXP_TRAUB_H
24#define HH_COND_EXP_TRAUB_H
32#include <gsl/gsl_odeiv.h>
56extern "C" int hh_cond_exp_traub_dynamics(
double,
const double*,
double*,
void* );
162void register_hh_cond_exp_traub(
const std::string& name );
169 hh_cond_exp_traub(
const hh_cond_exp_traub& );
170 ~hh_cond_exp_traub()
override;
178 using Node::handles_test_event;
180 size_t send_test_event( Node&,
size_t, synindex,
bool )
override;
182 void handle( SpikeEvent& )
override;
183 void handle( CurrentEvent& )
override;
184 void handle( DataLoggingRequest& )
override;
186 size_t handles_test_event( SpikeEvent&,
size_t )
override;
187 size_t handles_test_event( CurrentEvent&,
size_t )
override;
188 size_t handles_test_event( DataLoggingRequest&,
size_t )
override;
190 void get_status( Dictionary& )
const override;
191 void set_status(
const Dictionary& )
override;
194 void init_buffers_()
override;
195 void pre_run_hook()
override;
197 void update( Time
const&,
const long,
const long )
override;
204 friend int hh_cond_exp_traub_dynamics(
double,
const double*,
double*,
void* );
207 friend class RecordablesMap< hh_cond_exp_traub >;
208 friend class UniversalDataLogger< hh_cond_exp_traub >;
239 void get( Dictionary& )
const;
240 void set(
const Dictionary&, Node* node );
264 double y_[ STATE_VEC_SIZE ];
267 State_(
const Parameters_& p );
268 State_(
const State_& s );
270 State_& operator=(
const State_& );
272 void get( Dictionary& )
const;
273 void set(
const Dictionary&,
const Parameters_&, Node* );
283 int refractory_counts_;
294 Buffers_( hh_cond_exp_traub& );
296 Buffers_(
const Buffers_&, hh_cond_exp_traub& );
299 UniversalDataLogger< hh_cond_exp_traub > logger_;
302 RingBuffer spike_exc_;
303 RingBuffer spike_inh_;
304 RingBuffer currents_;
308 gsl_odeiv_control* c_;
309 gsl_odeiv_evolve* e_;
310 gsl_odeiv_system sys_;
316 double IntegrationStep_;
331 template < State_::StateVecElems elem >
335 return S_.y_[ elem ];
344 static RecordablesMap< hh_cond_exp_traub > recordablesMap_;
348hh_cond_exp_traub::send_test_event(
Node& target,
size_t receptor_type,
synindex,
bool )
351 e.set_sender( *
this );
353 return target.handles_test_event( e, receptor_type );
358hh_cond_exp_traub::handles_test_event(
SpikeEvent&,
size_t receptor_type )
360 if ( receptor_type != 0 )
368hh_cond_exp_traub::handles_test_event(
CurrentEvent&,
size_t receptor_type )
370 if ( receptor_type != 0 )
380 if ( receptor_type != 0 )
388hh_cond_exp_traub::get_status( Dictionary& d )
const
400hh_cond_exp_traub::set_status(
const Dictionary& d )
402 Parameters_ ptmp = P_;
405 stmp.set( d, ptmp,
this );
A node which archives spike history for the purposes of spike-timing dependent plasticity (STDP).
Definition archiving_node.h:49
void get_status(Dictionary &d) const override
Export properties of the node by setting entries in the status dictionary.
Definition archiving_node.cpp:249
void set_status(const Dictionary &d) override
Change properties of the node according to the entries in the dictionary.
Definition archiving_node.cpp:265
Event for electrical currents.
Definition event.h:608
Request data to be logged/logged data to be sent.
Definition event.h:675
Base class for all NEST network objects.
Definition node.h:99
Event for spike information.
Definition event.h:420
Exception to be thrown if the specified receptor type does not exist in the node.
Definition exceptions.h:417
const std::string V_T("V_T")
const std::string E_L("E_L")
const std::string I_e("I_e")
const std::string E_K("E_K")
const std::string recordables("recordables")
const std::string C_m("C_m")
const std::string g_Na("g_Na")
const std::string E_Na("E_Na")
const std::string g_K("g_K")
const std::string E_in("E_in")
const std::string target("target")
const std::string t_spike("t_spike")
const std::string E_ex("E_ex")
const std::string g_L("g_L")
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
RecordablesMap< binary_neuron< TGainfunction > > binary_neuron< TGainfunction >::recordablesMap_
Definition binary_neuron.h:319
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:121
const double e
Definition numerics.cpp:32