23#ifndef ARCHIVING_NODE_H
24#define ARCHIVING_NODE_H
39#define DEBUG_ARCHIVER 1
73 void get_K_values(
double t,
double& Kminus,
double& nearest_neighbor_Kminus,
double& Kminus_triplet )
override;
85 std::deque< histentry >::iterator* start,
86 std::deque< histentry >::iterator* finish )
override;
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
double get_K_triplet_value(const std::deque< histentry >::iterator &iter)
Return the triplet Kminus value for the associated iterator.
double tau_minus_inv_
Definition archiving_node.h:131
void register_stdp_connection(double t_first_read, double delay) override
Register a new incoming STDP connection.
Definition archiving_node.cpp:67
void get_history(double t1, double t2, std::deque< histentry >::iterator *start, std::deque< histentry >::iterator *finish) override
Return the spike times (in steps) of spikes which occurred in the range [t1,t2].
Definition archiving_node.cpp:151
std::deque< histentry > history_
Definition archiving_node.h:143
double tau_minus_
Definition archiving_node.h:130
void clear_history()
Clear spike history.
Definition archiving_node.cpp:269
double last_spike_
Definition archiving_node.h:140
ArchivingNode()
Definition archiving_node.cpp:34
double max_delay_
Definition archiving_node.h:137
double trace_
Definition archiving_node.h:138
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
void get_K_values(double t, double &Kminus, double &nearest_neighbor_Kminus, double &Kminus_triplet) override
Write the different STDP K values at time t (in ms) to the provided locations.
Definition archiving_node.cpp:116
double tau_minus_triplet_
Definition archiving_node.h:134
double get_K_value(double t) override
Return the Kminus (synaptic trace) value at time t (given in ms).
Definition archiving_node.cpp:87
double Kminus_
Definition archiving_node.h:125
size_t n_incoming_
Number of incoming connections from STDP connectors.
Definition archiving_node.h:121
double Kminus_triplet_
Definition archiving_node.h:128
double tau_minus_triplet_inv_
Definition archiving_node.h:135
void set_spiketime(Time const &t_sp, double offset=0.0)
Record spike history.
Definition archiving_node.cpp:179
double get_spiketime_ms() const
Return most recent spike time in ms.
Definition archiving_node.h:147
Class implementing an ignore-and-fire mechanism for neuron models.
Definition ignore_and_spike_mechanism.h:40
Implements functionality related to structural synaptic plasticity.
Definition structural_plasticity_node.h:44
Definition nest_time.h:135
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
Declarations for base class Node.