MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <Stats.h>
Public Member Functions | |
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 () | |
virtual void | vProcess (const Eref &e, ProcPtr p) |
Virtual func for handling process calls for derived classes. More... | |
virtual void | vReinit (const Eref &e, ProcPtr p) |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
Private Attributes | |
bool | isWindowDirty_ |
double | lastt_ |
double | mean_ |
unsigned int | num_ |
vector< double > | samples_ |
double | sdev_ |
double | sum_ |
double | sumsq_ |
double | wmean_ |
unsigned int | wnum_ |
double | wsdev_ |
double | wsum_ |
void Stats::doWindowCalculation | ( | ) | const |
Definition at line 262 of file Stats.cpp.
References innerWindowCalculation().
Referenced by getWmean(), getWnum(), getWsdev(), and getWsum().
double Stats::getMean | ( | ) | const |
Definition at line 197 of file Stats.cpp.
Referenced by initCinfo().
unsigned int Stats::getNum | ( | ) | const |
Definition at line 216 of file Stats.cpp.
References num_.
Referenced by initCinfo().
double Stats::getSdev | ( | ) | const |
double Stats::getSum | ( | ) | const |
Definition at line 211 of file Stats.cpp.
References sum_.
Referenced by initCinfo().
unsigned int Stats::getWindowLength | ( | ) | const |
Definition at line 255 of file Stats.cpp.
References samples_.
Referenced by initCinfo().
double Stats::getWmean | ( | ) | const |
Definition at line 221 of file Stats.cpp.
References doWindowCalculation(), and wmean_.
Referenced by initCinfo().
unsigned int Stats::getWnum | ( | ) | const |
Definition at line 239 of file Stats.cpp.
References doWindowCalculation(), and wnum_.
Referenced by initCinfo().
double Stats::getWsdev | ( | ) | const |
Definition at line 227 of file Stats.cpp.
References doWindowCalculation(), and wsdev_.
Referenced by initCinfo().
double Stats::getWsum | ( | ) | const |
Definition at line 233 of file Stats.cpp.
References doWindowCalculation(), and wsum_.
Referenced by initCinfo().
|
static |
Definition at line 21 of file Stats.cpp.
References getMean(), getNum(), getSdev(), getSum(), getWindowLength(), getWmean(), getWnum(), getWsdev(), getWsum(), Neutral::initCinfo(), input(), process(), reinit(), requestOut(), setWindowLength(), and statsCinfo.
Referenced by SpikeStats::initCinfo().
void Stats::innerWindowCalculation | ( | ) |
Definition at line 268 of file Stats.cpp.
References isWindowDirty_, num_, samples_, wmean_, wnum_, wsdev_, and wsum_.
Referenced by doWindowCalculation().
void Stats::input | ( | double | v | ) |
Definition at line 183 of file Stats.cpp.
References isWindowDirty_, num_, samples_, sum_, and sumsq_.
Referenced by initCinfo(), SpikeStats::vProcess(), and vProcess().
Definition at line 147 of file Stats.cpp.
References vProcess().
Referenced by initCinfo().
Definition at line 161 of file Stats.cpp.
References vReinit().
Referenced by initCinfo().
void Stats::setWindowLength | ( | unsigned int | len | ) |
Definition at line 245 of file Stats.cpp.
References isWindowDirty_, and samples_.
Referenced by initCinfo().
Virtual func for handling process calls for derived classes.
Reimplemented in SpikeStats.
Definition at line 152 of file Stats.cpp.
References input(), and requestOut().
Referenced by process().
|
private |
Definition at line 66 of file Stats.h.
Referenced by innerWindowCalculation(), input(), and setWindowLength().
|
private |
|
private |
Definition at line 65 of file Stats.h.
Referenced by getWindowLength(), innerWindowCalculation(), input(), setWindowLength(), and vReinit().
|
private |
|
private |
|
private |
Definition at line 59 of file Stats.h.
Referenced by getWmean(), innerWindowCalculation(), and vReinit().
|
private |
Definition at line 62 of file Stats.h.
Referenced by getWnum(), innerWindowCalculation(), and vReinit().
|
private |
Definition at line 60 of file Stats.h.
Referenced by getWsdev(), innerWindowCalculation(), and vReinit().
|
private |
Definition at line 61 of file Stats.h.
Referenced by getWsum(), innerWindowCalculation(), and vReinit().