23#ifndef EPROP_ARCHIVING_NODE_READOUT_H
24#define EPROP_ARCHIVING_NODE_READOUT_H
41template <
bool hist_shift_required >
85template <
bool hist_shift_required >
89 if constexpr ( not hist_shift_required )
95template <
bool hist_shift_required >
99 if constexpr ( not hist_shift_required )
105 if ( eprop_isi_trace_cutoff_tmp < 0.0 )
107 throw BadProperty(
"eprop_isi_trace_cutoff ≥ 0 required." );
114template <
bool hist_shift_required >
123 if constexpr ( hist_shift_required )
131template <
bool hist_shift_required >
134 const double error_signal )
141 if constexpr ( hist_shift_required )
147 it_hist->error_signal_ = error_signal;
150template <
bool hist_shift_required >
154 if constexpr ( hist_shift_required )
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
Exception to be thrown if a status parameter is incomplete or inconsistent.
Definition exceptions.h:680
void get_status(Dictionary &d) const override
Export properties of the node by setting entries in the status dictionary.
Definition eprop_archiving_node_readout.h:87
EpropArchivingNodeReadout()
Constructs a new EpropArchivingNodeReadout object.
Definition eprop_archiving_node_readout.h:48
long model_dependent_history_shift_() const override
Returns the correct shift for history depending on whether it is a normal or a bsshslm_2020 model.
Definition eprop_archiving_node_readout.h:152
void append_new_eprop_history_entry(long time_step)
Creates an entry for the specified time step at the end of the eprop history.
Definition eprop_archiving_node_readout.h:116
EpropArchivingNodeReadout(const EpropArchivingNodeReadout &other)
Constructs a new EpropArchivingNodeReadout object by copying another EpropArchivingNodeReadout object...
Definition eprop_archiving_node_readout.h:58
void set_status(const Dictionary &d) override
Change properties of the node according to the entries in the dictionary.
Definition eprop_archiving_node_readout.h:97
void write_error_signal_to_history(long time_step, const double error_signal)
Writes the error signal to the eprop history at the specified time step.
Definition eprop_archiving_node_readout.h:133
std::vector< HistEntryEpropReadout > eprop_history_
Definition eprop_archiving_node.h:162
double eprop_isi_trace_cutoff_
Definition eprop_archiving_node.h:156
std::vector< HistEntryEpropReadout >::iterator get_eprop_history(const long time_step)
Definition eprop_archiving_node_impl.h:157
EpropArchivingNode()
Definition eprop_archiving_node_impl.h:35
const long delay_rec_out_
Definition eprop_archiving_node.h:174
const long delay_out_norm_
Definition eprop_archiving_node.h:177
size_t eprop_indegree_
Definition eprop_archiving_node.h:153
virtual long get_shift() const
Retrieves the temporal shift of the signal.
Definition node.cpp:235
const std::string eprop_isi_trace_cutoff("eprop_isi_trace_cutoff")
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
bool update_value_param(Dictionary const &d, const std::string &key, T &value, nest::Node *node)
Obtain value from parameter dictionary including evaluation of random or spatial parameters.
Definition dict_util.h:42
Declarations for base class Node.