23#ifndef AEIF_COND_ALPHA_ASTRO_H
24#define AEIF_COND_ALPHA_ASTRO_H
32#include <gsl/gsl_errno.h>
33#include <gsl/gsl_matrix.h>
34#include <gsl/gsl_odeiv.h>
57extern "C" int aeif_cond_alpha_astro_dynamics(
double,
const double*,
double*,
void* );
69extern "C" int aeif_cond_alpha_astro_dynamics_DT0(
double,
const double*,
double*,
void* );
215void register_aeif_cond_alpha_astro(
const std::string& name );
221 aeif_cond_alpha_astro();
222 aeif_cond_alpha_astro(
const aeif_cond_alpha_astro& );
223 ~aeif_cond_alpha_astro()
override;
231 using Node::handles_test_event;
233 size_t send_test_event( Node&,
size_t, synindex,
bool )
override;
235 void handle( SpikeEvent& )
override;
236 void handle( CurrentEvent& )
override;
237 void handle( SICEvent& )
override;
238 void handle( DataLoggingRequest& )
override;
240 size_t handles_test_event( SpikeEvent&,
size_t )
override;
241 size_t handles_test_event( CurrentEvent&,
size_t )
override;
242 size_t handles_test_event( SICEvent&,
size_t )
override;
243 size_t handles_test_event( DataLoggingRequest&,
size_t )
override;
245 void get_status( Dictionary& )
const override;
246 void set_status(
const Dictionary& )
override;
249 void init_buffers_()
override;
250 void pre_run_hook()
override;
251 void update( Time
const&,
const long,
const long )
override;
258 friend int aeif_cond_alpha_astro_dynamics(
double,
const double*,
double*,
void* );
261 friend class RecordablesMap< aeif_cond_alpha_astro >;
262 friend class UniversalDataLogger< aeif_cond_alpha_astro >;
292 void get( Dictionary& )
const;
293 void set(
const Dictionary&, Node* node );
322 double y_[ STATE_VEC_SIZE ];
326 State_(
const Parameters_& );
327 State_(
const State_& );
328 State_& operator=(
const State_& );
330 void get( Dictionary& )
const;
331 void set(
const Dictionary&,
const Parameters_&, Node* );
341 Buffers_( aeif_cond_alpha_astro& );
342 Buffers_(
const Buffers_&, aeif_cond_alpha_astro& );
345 UniversalDataLogger< aeif_cond_alpha_astro > logger_;
348 RingBuffer spike_exc_;
349 RingBuffer spike_inh_;
350 RingBuffer currents_;
354 gsl_odeiv_control* c_;
355 gsl_odeiv_evolve* e_;
356 gsl_odeiv_system sys_;
362 double IntegrationStep_;
364 RingBuffer sic_currents_;
396 unsigned int refractory_counts_;
402 template < State_::StateVecElems elem >
406 return S_.y_[ elem ];
424 static RecordablesMap< aeif_cond_alpha_astro > recordablesMap_;
428aeif_cond_alpha_astro::send_test_event(
Node& target,
size_t receptor_type,
synindex,
bool )
431 e.set_sender( *
this );
433 return target.handles_test_event( e, receptor_type );
437aeif_cond_alpha_astro::handles_test_event(
SpikeEvent&,
size_t receptor_type )
439 if ( receptor_type != 0 )
447aeif_cond_alpha_astro::handles_test_event(
CurrentEvent&,
size_t receptor_type )
449 if ( receptor_type != 0 )
457aeif_cond_alpha_astro::handles_test_event(
SICEvent&,
size_t receptor_type )
459 if ( receptor_type != 0 )
467aeif_cond_alpha_astro::handles_test_event(
DataLoggingRequest& dlr,
size_t receptor_type )
469 if ( receptor_type != 0 )
477aeif_cond_alpha_astro::get_status( Dictionary& d )
const
487aeif_cond_alpha_astro::set_status(
const Dictionary& d )
489 Parameters_ ptmp = P_;
492 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 slow inward current (SIC) connections between astrocytes and neurons.
Definition secondary_event.h:458
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 tau_syn_in("tau_syn_in")
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 gsl_error_tol("gsl_error_tol")
const std::string V_th("V_th")
const std::string V_peak("V_peak")
const std::string E_in("E_in")
const std::string target("target")
const std::string tau_syn_ex("tau_syn_ex")
const std::string tau_w("tau_w")
const std::string Delta_T("Delta_T")
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