
A decoder using a sliding rectangular window, or moving average. More...
#include <ModelNeuron/NeuralDecoder.H>


Public Member Functions | |
| RectDecoder (const SimTime &timeStep=SimTime::MSECS(1.0), const SimTime &windowSize=SimTime::MSECS(100.0)) | |
| constructor | |
| ~RectDecoder () | |
| 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 decoder using a sliding rectangular window, or moving average.
Definition at line 180 of file NeuralDecoder.H.
| RectDecoder::RectDecoder | ( | const SimTime & | timeStep = SimTime::MSECS(1.0), |
|
| const SimTime & | windowSize = SimTime::MSECS(100.0) | |||
| ) | [inline] |
constructor
Definition at line 184 of file NeuralDecoder.H.
| RectDecoder::~RectDecoder | ( | ) | [inline] |
desctructor
Definition at line 190 of file NeuralDecoder.H.
| const double RectDecoder::getOutput | ( | ) | const [virtual] |
get the instantaneous Spikes/Second
Implements NeuralDecoder.
Definition at line 131 of file NeuralDecoder.C.
References SimTime::secs().
| void RectDecoder::push | ( | const double & | in | ) | [virtual] |
add some data to the decoder
implementations of RectDecoder
Implements NeuralDecoder.
Definition at line 123 of file NeuralDecoder.C.
| void RectDecoder::reset | ( | ) | [virtual] |
reset decoder internals
Reimplemented from NeuralDecoder.
Definition at line 137 of file NeuralDecoder.C.
1.6.3