32#include <gsl/gsl_errno.h>
33#include <gsl/gsl_matrix.h>
34#include <gsl/gsl_odeiv.h>
57extern "C" int iaf_cond_exp_dynamics(
double,
const double*,
double*,
void* );
204void register_iaf_cond_exp(
const std::string& name );
211 iaf_cond_exp(
const iaf_cond_exp& );
212 ~iaf_cond_exp()
override;
220 using Node::handles_test_event;
222 size_t send_test_event( Node&,
size_t, synindex,
bool )
override;
224 void handle( SpikeEvent& )
override;
225 void handle( CurrentEvent& )
override;
226 void handle( DataLoggingRequest& )
override;
228 size_t handles_test_event( SpikeEvent&,
size_t )
override;
229 size_t handles_test_event( CurrentEvent&,
size_t )
override;
230 size_t handles_test_event( DataLoggingRequest&,
size_t )
override;
232 void get_status( Dictionary& )
const override;
233 void set_status(
const Dictionary& )
override;
236 void init_buffers_()
override;
237 void pre_run_hook()
override;
238 void update( Time
const&,
const long,
const long )
override;
245 friend int iaf_cond_exp_dynamics(
double,
const double*,
double*,
void* );
248 friend class RecordablesMap< iaf_cond_exp >;
249 friend class UniversalDataLogger< iaf_cond_exp >;
271 void get( Dictionary& )
const;
272 void set(
const Dictionary&, Node* node );
294 double y_[ STATE_VEC_SIZE ];
297 State_(
const Parameters_& );
298 State_(
const State_& );
300 State_& operator=(
const State_& );
302 void get( Dictionary& )
const;
303 void set(
const Dictionary&,
const Parameters_&, Node* );
314 Buffers_( iaf_cond_exp& );
315 Buffers_(
const Buffers_&, iaf_cond_exp& );
318 UniversalDataLogger< iaf_cond_exp > logger_;
321 RingBuffer spike_exc_;
322 RingBuffer spike_inh_;
323 RingBuffer currents_;
327 gsl_odeiv_control* c_;
328 gsl_odeiv_evolve* e_;
329 gsl_odeiv_system sys_;
335 double IntegrationStep_;
354 int RefractoryCounts_;
360 template < State_::StateVecElems elem >
364 return S_.y_[ elem ];
375 static RecordablesMap< iaf_cond_exp > recordablesMap_;
380iaf_cond_exp::send_test_event(
Node& target,
size_t receptor_type,
synindex,
bool )
383 e.set_sender( *
this );
384 return target.handles_test_event( e, receptor_type );
388iaf_cond_exp::handles_test_event(
SpikeEvent&,
size_t receptor_type )
390 if ( receptor_type != 0 )
398iaf_cond_exp::handles_test_event(
CurrentEvent&,
size_t receptor_type )
400 if ( receptor_type != 0 )
410 if ( receptor_type != 0 )
419iaf_cond_exp::get_status( Dictionary& d )
const
429iaf_cond_exp::set_status(
const Dictionary& d )
431 Parameters_ ptmp = P_;
434 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 E_L("E_L")
const std::string I_e("I_e")
const std::string recordables("recordables")
const std::string C_m("C_m")
const std::string E_in("E_in")
const std::string target("target")
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