#include <SpikeStats.h>
Public Member Functions | |
SpikeStats () | |
void | addSpike (DataId synIndex, const double time) |
void | setThreshold (double thresh) |
double | getThreshold () const |
void | addSpike (double v) |
void | Vm (double v) |
void | vProcess (const Eref &e, ProcPtr p) |
Virtual func for handling process calls. | |
void | vReinit (const Eref &e, ProcPtr p) |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
SpikeStats::SpikeStats | ( | ) |
void SpikeStats::addSpike | ( | double | v | ) |
void SpikeStats::addSpike | ( | DataId | synIndex, | |
const double | time | |||
) |
Inserts an event into the pendingEvents queue for spikes.
Referenced by initCinfo().
double SpikeStats::getThreshold | ( | ) | const |
Referenced by initCinfo().
const Cinfo * SpikeStats::initCinfo | ( | ) | [static] |
Reimplemented from Stats.
References addSpike(), getThreshold(), Stats::initCinfo(), setThreshold(), and Vm().
void SpikeStats::setThreshold | ( | double | thresh | ) |
Referenced by initCinfo().
void SpikeStats::Vm | ( | double | v | ) |
Referenced by initCinfo().
Virtual func for handling process calls.
Reimplemented from Stats.
References ProcInfo::dt, and Stats::input().