MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <SpikeStats.h>
Public Member Functions | |
void | addSpike (DataId synIndex, const double time) |
void | addSpike (double v) |
double | getThreshold () const |
void | setThreshold (double thresh) |
SpikeStats () | |
void | Vm (double v) |
void | vProcess (const Eref &e, ProcPtr p) |
Virtual func for handling process calls. More... | |
void | vReinit (const Eref &e, ProcPtr p) |
![]() | |
void | doWindowCalculation () const |
double | getMean () const |
unsigned int | getNum () const |
double | getSdev () const |
double | getSum () const |
unsigned int | getWindowLength () const |
double | getWmean () const |
unsigned int | getWnum () const |
double | getWsdev () const |
double | getWsum () const |
void | innerWindowCalculation () |
void | input (double v) |
void | process (const Eref &e, ProcPtr p) |
void | reinit (const Eref &e, ProcPtr p) |
void | setWindowLength (unsigned int len) |
Stats () | |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
![]() | |
static const Cinfo * | initCinfo () |
Private Attributes | |
bool | fired_ |
unsigned int | numSpikes_ |
double | threshold_ |
Definition at line 12 of file SpikeStats.h.
SpikeStats::SpikeStats | ( | ) |
Definition at line 81 of file SpikeStats.cpp.
void SpikeStats::addSpike | ( | DataId | synIndex, |
const double | time | ||
) |
Inserts an event into the pendingEvents queue for spikes.
Referenced by initCinfo().
void SpikeStats::addSpike | ( | double | v | ) |
double SpikeStats::getThreshold | ( | ) | const |
Definition at line 129 of file SpikeStats.cpp.
References threshold_.
Referenced by initCinfo().
|
static |
Definition at line 14 of file SpikeStats.cpp.
References addSpike(), getThreshold(), Stats::initCinfo(), setThreshold(), spikeStatsCinfo, and Vm().
void SpikeStats::setThreshold | ( | double | thresh | ) |
Definition at line 134 of file SpikeStats.cpp.
References threshold_.
Referenced by initCinfo().
void SpikeStats::Vm | ( | double | v | ) |
Definition at line 107 of file SpikeStats.cpp.
References fired_, numSpikes_, and threshold_.
Referenced by initCinfo().
Virtual func for handling process calls.
Reimplemented from Stats.
Definition at line 90 of file SpikeStats.cpp.
References ProcInfo::dt, Stats::input(), and numSpikes_.
Reimplemented from Stats.
Definition at line 97 of file SpikeStats.cpp.
References fired_, numSpikes_, and Stats::vReinit().
|
private |
Definition at line 44 of file SpikeStats.h.
|
private |
Definition at line 42 of file SpikeStats.h.
Referenced by addSpike(), Vm(), vProcess(), and vReinit().
|
private |
Definition at line 43 of file SpikeStats.h.
Referenced by getThreshold(), setThreshold(), and Vm().