A histogram (non overlapping) decoder, spike count. More...
#include <ModelNeuron/NeuralDecoder.H>
Public Member Functions | |
HistDecoder (const SimTime &timeStep=SimTime::MSECS(1.0), const SimTime &windowSize=SimTime::MSECS(100.0)) | |
constructor | |
~HistDecoder () | |
desctructor | |
void | push (const double &in) |
add some data to the decoder | |
const double | getOutput () const |
get the instantaneous Spikes/Second | |
void | reset () |
reset decoder internals |
A histogram (non overlapping) decoder, spike count.
Definition at line 151 of file NeuralDecoder.H.
HistDecoder::HistDecoder | ( | const SimTime & | timeStep = SimTime::MSECS(1.0) , |
|
const SimTime & | windowSize = SimTime::MSECS(100.0) | |||
) | [inline] |
constructor
Definition at line 155 of file NeuralDecoder.H.
HistDecoder::~HistDecoder | ( | ) | [inline] |
desctructor
Definition at line 161 of file NeuralDecoder.H.
const double HistDecoder::getOutput | ( | ) | const [virtual] |
get the instantaneous Spikes/Second
Implements NeuralDecoder.
Definition at line 107 of file NeuralDecoder.C.
References SimTime::secs().
void HistDecoder::push | ( | const double & | in | ) | [virtual] |
add some data to the decoder
implementations of HistDecoder
Implements NeuralDecoder.
Definition at line 92 of file NeuralDecoder.C.
void HistDecoder::reset | ( | ) | [virtual] |
reset decoder internals
Reimplemented from NeuralDecoder.
Definition at line 113 of file NeuralDecoder.C.