23#ifndef IAF_COND_EXP_SFA_RR_H
24#define IAF_COND_EXP_SFA_RR_H
32#include <gsl/gsl_errno.h>
33#include <gsl/gsl_matrix.h>
34#include <gsl/gsl_odeiv.h>
57extern "C" int iaf_cond_exp_sfa_rr_dynamics(
double,
const double*,
double*,
void* );
154void register_iaf_cond_exp_sfa_rr(
const std::string& name );
160 iaf_cond_exp_sfa_rr();
161 iaf_cond_exp_sfa_rr(
const iaf_cond_exp_sfa_rr& );
162 ~iaf_cond_exp_sfa_rr()
override;
170 using Node::handles_test_event;
172 size_t send_test_event( Node&,
size_t, synindex,
bool )
override;
174 void handle( SpikeEvent& )
override;
175 void handle( CurrentEvent& )
override;
176 void handle( DataLoggingRequest& )
override;
178 size_t handles_test_event( SpikeEvent&,
size_t )
override;
179 size_t handles_test_event( CurrentEvent&,
size_t )
override;
180 size_t handles_test_event( DataLoggingRequest&,
size_t )
override;
182 void get_status( Dictionary& )
const override;
183 void set_status(
const Dictionary& )
override;
186 void init_buffers_()
override;
187 void pre_run_hook()
override;
188 void update( Time
const&,
const long,
const long )
override;
195 friend int iaf_cond_exp_sfa_rr_dynamics(
double,
const double*,
double*,
void* );
198 friend class RecordablesMap< iaf_cond_exp_sfa_rr >;
199 friend class UniversalDataLogger< iaf_cond_exp_sfa_rr >;
230 void get( Dictionary& )
const;
231 void set(
const Dictionary&, Node* node );
255 double y_[ STATE_VEC_SIZE ];
258 State_(
const Parameters_& );
259 State_(
const State_& );
261 State_& operator=(
const State_& );
263 void get( Dictionary& )
const;
264 void set(
const Dictionary&,
const Parameters_&, Node* );
275 Buffers_( iaf_cond_exp_sfa_rr& );
277 Buffers_(
const Buffers_&, iaf_cond_exp_sfa_rr& );
280 UniversalDataLogger< iaf_cond_exp_sfa_rr > logger_;
283 RingBuffer spike_exc_;
284 RingBuffer spike_inh_;
285 RingBuffer currents_;
289 gsl_odeiv_control* c_;
290 gsl_odeiv_evolve* e_;
291 gsl_odeiv_system sys_;
297 double IntegrationStep_;
316 int RefractoryCounts_;
322 template < State_::StateVecElems elem >
326 return S_.y_[ elem ];
337 static RecordablesMap< iaf_cond_exp_sfa_rr > recordablesMap_;
342iaf_cond_exp_sfa_rr::send_test_event(
Node& target,
size_t receptor_type,
synindex,
bool )
345 e.set_sender( *
this );
346 return target.handles_test_event( e, receptor_type );
350iaf_cond_exp_sfa_rr::handles_test_event(
SpikeEvent&,
size_t receptor_type )
352 if ( receptor_type != 0 )
360iaf_cond_exp_sfa_rr::handles_test_event(
CurrentEvent&,
size_t receptor_type )
362 if ( receptor_type != 0 )
370iaf_cond_exp_sfa_rr::handles_test_event(
DataLoggingRequest& dlr,
size_t receptor_type )
372 if ( receptor_type != 0 )
381iaf_cond_exp_sfa_rr::get_status( Dictionary& d )
const
391iaf_cond_exp_sfa_rr::set_status(
const Dictionary& d )
393 Parameters_ ptmp = P_;
396 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_rr("E_rr")
const std::string E_sfa("E_sfa")
const std::string tau_rr("tau_rr")
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 q_rr("q_rr")
const std::string E_in("E_in")
const std::string q_sfa("q_sfa")
const std::string target("target")
const std::string E_ex("E_ex")
const std::string tau_sfa("tau_sfa")
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