AnimatLab  2
Test
SpikeGenerator Class Reference

used for fine-grained control over spike generation, using a callback mechanism More...

#include <snn.h>

+ Collaboration diagram for SpikeGenerator:

Public Member Functions

virtual unsigned int nextSpikeTime (CpuSNN *s, int grpId, int i, unsigned int currentTime)
 controls spike generation using a callback More...
 

Detailed Description

used for fine-grained control over spike generation, using a callback mechanism

Spike generation can be performed using spike generators. Spike generators are dummy-neurons that have their spikes specified externally either defined by a Poisson firing rate or via a spike injection mechanism. Spike generators can have post-synaptic connections with STDP and STP, but unlike Izhikevich neurons, they do not receive any pre-synaptic input. For more information on spike generators see Section Neuron groups: Spike generators in the Tutorial.

For fine-grained control over spike generation, individual spike times can be specified per neuron in each group. This is accomplished using a callback mechanism, which is called at each time step, to specify whether a neuron has fired or not.

Definition at line 226 of file snn.h.

Member Function Documentation

virtual unsigned int SpikeGenerator::nextSpikeTime ( CpuSNN s,
int  grpId,
int  i,
unsigned int  currentTime 
)
inlinevirtual

controls spike generation using a callback

Attention
The virtual method should never be called directly

Definition at line 232 of file snn.h.


The documentation for this class was generated from the following file: