Auryn simulator
v0.8.1-206-gb56e451
Plastic Spiking Neural Network Simulator
|
SpikeMonitor that reads the delayed spikes as they are received by a postsynaptic neuron. More...
#include <DelayedSpikeMonitor.h>
Public Member Functions | |
DelayedSpikeMonitor (SpikingGroup *source, std::string filename) | |
DelayedSpikeMonitor (SpikingGroup *source, std::string filename, NeuronID to) | |
DelayedSpikeMonitor (SpikingGroup *source, std::string filename, NeuronID from, NeuronID to) | |
void | set_offset (NeuronID of) |
virtual | ~DelayedSpikeMonitor () |
void | execute () |
SpikeMonitor that reads the delayed spikes as they are received by a postsynaptic neuron.
Usually SpikeMonitor writes spikes to file for the rank that it runs on. i.e. each rank writes is own spk file which then need to be merged. This monitor writes all spikes from all ranks to files on all ranks. The spikes writen by this monitor are delayed by the axonal delay (because they need to be communicated from all ranks to all ranks first). The main role of this monitor is to test SyncBuffer and Auryn's spike synchornization. It records all the spikes on each node (which effectively multiplies spikes).
DelayedSpikeMonitor::DelayedSpikeMonitor | ( | SpikingGroup * | source, |
std::string | filename | ||
) |
DelayedSpikeMonitor::DelayedSpikeMonitor | ( | SpikingGroup * | source, |
std::string | filename, | ||
NeuronID | to | ||
) |
DelayedSpikeMonitor::DelayedSpikeMonitor | ( | SpikingGroup * | source, |
std::string | filename, | ||
NeuronID | from, | ||
NeuronID | to | ||
) |
|
virtual |
|
virtual |
Virtual execute function to be called at the end of central simulation loop in System
Reimplemented from auryn::Device.
void DelayedSpikeMonitor::set_offset | ( | NeuronID | of | ) |