1 #ifndef _PERIODIC_SPIKEGEN_H_ 2 #define _PERIODIC_SPIKEGEN_H_ 50 void setRates(std::vector<float> ratesHz);
66 unsigned int lastScheduledSpikeTime,
unsigned int endOfTimeSlice);
void setRates(float rateHz)
Sets the spike rate of all neurons in the group.
CARLsim User Interface This class provides a user interface to the public sections of CARLsimCore sou...
PeriodicSpikeGenerator(bool spikeAtZero=true)
PeriodicSpikeGenerator constructor.
unsigned int nextSpikeTime(CARLsim *sim, int grpId, int nid, unsigned int currentTime, unsigned int lastScheduledSpikeTime, unsigned int endOfTimeSlice)
schedules the next spike time
~PeriodicSpikeGenerator()
default destructor
a periodic SpikeGenerator (constant ISI) creating spikes at a certain rate