239 friend class UniversalDataLogger<
glif_psc >;
294 std::vector< double >
y1_;
295 std::vector< double >
y2_;
406 e.set_sender( *
this );
407 return target.handles_test_event( e, receptor_type );
413 if ( receptor_type != 0 )
423 if ( receptor_type != 0 )
447 const double delta_EL = ptmp.
set( d,
this );
449 stmp.
set( d, ptmp, delta_EL,
this );
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
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:220
void set_status(const Dictionary &d) override
Change properties of the node according to the entries in the dictionary.
Definition archiving_node.cpp:236
Event for electrical currents.
Definition event.h:569
Request data to be logged/logged data to be sent.
Definition event.h:636
Base class for all NEST network objects.
Definition node.h:99
std::string get_name() const
Return class name.
Definition node.cpp:105
Map names of recordables to data access functions.
Definition recordables_map.h:61
Buffer Layout.
Definition ring_buffer.h:83
Event for spike information.
Definition event.h:418
Definition nest_time.h:135
Exception to be thrown if the specified receptor type does not exist in the node.
Definition exceptions.h:417
Definition glif_psc.h:205
double get_I_() const
Definition glif_psc.h:357
void set_status(const Dictionary &) override
Change properties of the node according to the entries in the dictionary.
Definition glif_psc.h:444
size_t send_test_event(Node &, size_t, synindex, bool) override
Send an event to the receiving_node passed as an argument.
Definition glif_psc.h:403
Buffers_ B_
Definition glif_psc.h:389
void pre_run_hook() override
Initialize auxiliary quantities, leave parameters and state untouched.
Definition glif_psc.cpp:390
double get_V_m_() const
Definition glif_psc.h:345
glif_psc()
Definition glif_psc.cpp:360
Parameters_ P_
Definition glif_psc.h:386
void get_status(Dictionary &) const override
Export properties of the node by setting entries in the status dictionary.
Definition glif_psc.h:431
void handle(SpikeEvent &) override
Handle incoming spike events.
Definition glif_psc.cpp:606
double get_I_syn_() const
Definition glif_psc.h:363
double get_ASCurrents_sum_() const
Definition glif_psc.h:351
double get_threshold_voltage_() const
Definition glif_psc.h:381
static RecordablesMap< glif_psc > recordablesMap_
Mapping of recordables names to access functions.
Definition glif_psc.h:392
State_ S_
Definition glif_psc.h:387
void update(Time const &, const long, const long) override
Take neuron through given time interval.
Definition glif_psc.cpp:464
Variables_ V_
Definition glif_psc.h:388
size_t handles_test_event(SpikeEvent &, size_t) override
Check if the node can handle a particular event and receptor type.
Definition glif_psc.cpp:594
double get_threshold_() const
Definition glif_psc.h:369
double get_threshold_spike_() const
Definition glif_psc.h:375
void init_buffers_() override
Reset internal buffers of neuron.
Definition glif_psc.cpp:382
friend class UniversalDataLogger< glif_psc >
Definition glif_psc.h:239
virtual size_t handles_test_event(SpikeEvent &, size_t receptor_type)
Check if the node can handle a particular event and receptor type.
Definition node.cpp:271
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition node.cpp:265
const std::string recordables("recordables")
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
void register_glif_psc(const std::string &name)
Definition glif_psc.cpp:43
size_t synindex
For enumerations of synapse types.
Definition nest_types.h:115
Definition glif_psc.h:305
std::vector< RingBuffer > spikes_
Buffer incoming spikes through delay, as sum.
Definition glif_psc.h:309
RingBuffer currents_
Buffer incoming currents through delay,.
Definition glif_psc.h:310
UniversalDataLogger< glif_psc > logger_
Logger for all analog data.
Definition glif_psc.h:313
Definition glif_psc.h:242
std::vector< double > asc_decay_
predefined time scale in 1/ms
Definition glif_psc.h:258
std::vector< double > asc_amps_
in pA
Definition glif_psc.h:259
Parameters_()
Definition glif_psc.cpp:67
std::vector< double > asc_r_
coefficient
Definition glif_psc.h:260
double voltage_reset_fraction_
voltage fraction following reset coefficient
Definition glif_psc.h:251
bool has_asc_
boolean flag which indicates whether the neuron has after spike currents
Definition glif_psc.h:270
double th_spike_add_
threshold additive constant following reset in mV
Definition glif_psc.h:249
double G_
membrane conductance in nS
Definition glif_psc.h:243
std::vector< double > tau_syn_
synaptic port time constants in ms
Definition glif_psc.h:261
double th_voltage_index_
a 'leak-conductance' for the voltage-dependent component of the threshold in 1/ms
Definition glif_psc.h:253
double th_inf_
infinity threshold in mV
Definition glif_psc.h:245
size_t n_receptors_() const
Returns the size of tau_syn_.
Definition glif_psc.h:397
double C_m_
capacitance in pF
Definition glif_psc.h:246
double V_reset_
Membrane voltage following spike in mV.
Definition glif_psc.h:248
bool has_theta_voltage_
boolean flag which indicates whether the neuron has voltage dependent threshold component
Definition glif_psc.h:273
bool has_connections_
boolean flag which indicates whether the neuron has connections
Definition glif_psc.h:264
double th_spike_decay_
spike induced threshold in 1/ms
Definition glif_psc.h:250
double set(const Dictionary &, Node *)
Definition glif_psc.cpp:145
std::vector< double > asc_init_
initial values of ASCurrents_ in pA
Definition glif_psc.h:257
double voltage_reset_add_
voltage additive constant following reset in mV
Definition glif_psc.h:252
void get(Dictionary &) const
Definition glif_psc.cpp:116
double th_voltage_decay_
inverse of which is the time constant of the voltage-dependent component of the threshold in 1/ms
Definition glif_psc.h:255
bool has_theta_spike_
boolean flag which indicates whether the neuron has spike dependent threshold component
Definition glif_psc.h:267
double t_ref_
refractory time in ms
Definition glif_psc.h:247
double E_L_
resting potential in mV
Definition glif_psc.h:244
Definition glif_psc.h:284
std::vector< double > y1_
synapse current evolution state 1 in pA
Definition glif_psc.h:294
double threshold_voltage_
voltage component of threshold in mV
Definition glif_psc.h:288
void get(Dictionary &, const Parameters_ &) const
Definition glif_psc.cpp:299
double U_
relative membrane potential in mV
Definition glif_psc.h:285
std::vector< double > ASCurrents_
after-spike currents in pA
Definition glif_psc.h:291
double I_syn_
postsynaptic current in pA
Definition glif_psc.h:290
std::vector< double > y2_
synapse current evolution state 2 in pA
Definition glif_psc.h:295
double I_
external current in pA
Definition glif_psc.h:289
void set(const Dictionary &, const Parameters_ &, double, Node *)
Definition glif_psc.cpp:308
double threshold_spike_
spike component of threshold in mV
Definition glif_psc.h:287
double ASCurrents_sum_
in pA
Definition glif_psc.h:292
double threshold_
total threshold in mV
Definition glif_psc.h:286
int refractory_steps_
Number of refractory steps remaining.
Definition glif_psc.h:293
Definition glif_psc.h:317
double theta_spike_refractory_decay_rate_
threshold spike component decay rate during refractory
Definition glif_psc.h:320
std::vector< double > asc_refractory_decay_rates_
after spike current decay rates during refractory
Definition glif_psc.h:326
std::vector< double > P32_
synaptic/membrane current evolution parameter
Definition glif_psc.h:335
double theta_voltage_decay_rate_inverse_
inverse of threshold voltage component decay rate
Definition glif_psc.h:321
int RefractoryCounts_
counter during refractory period
Definition glif_psc.h:318
std::vector< double > asc_stable_coeff_
after spike current stable coefficient
Definition glif_psc.h:325
double P33_
membrane voltage evolution parameter
Definition glif_psc.h:333
std::vector< double > P22_
synaptic current evolution parameter
Definition glif_psc.h:331
std::vector< double > P31_
synaptic/membrane current evolution parameter
Definition glif_psc.h:334
std::vector< double > asc_decay_rates_
after spike current decay rates
Definition glif_psc.h:324
std::vector< double > P21_
synaptic current evolution parameter
Definition glif_psc.h:330
double abpara_ratio_voltage_
ratio of parameters of voltage threshold component av/bv
Definition glif_psc.h:323
double potential_decay_rate_
membrane potential decay rate
Definition glif_psc.h:322
double phi
threshold voltage component coefficient
Definition glif_psc.h:327
double theta_spike_decay_rate_
threshold spike component decay rate
Definition glif_psc.h:319
std::vector< double > PSCInitialValues_
Amplitude of the synaptic current.
Definition glif_psc.h:341
std::vector< double > P11_
synaptic current evolution parameter
Definition glif_psc.h:329
double P30_
membrane current/voltage evolution parameter
Definition glif_psc.h:332