A decoder that just passes through the data, possibly with a delay. More...
#include <ModelNeuron/NeuralDecoder.H>
Public Member Functions | |
HoldDecoder (const SimTime &timeStep=SimTime::MSECS(1.0), const SimTime &windowSize=SimTime::ZERO()) | |
constructor | |
~HoldDecoder () | |
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 that just passes through the data, possibly with a delay.
Definition at line 122 of file NeuralDecoder.H.
HoldDecoder::HoldDecoder | ( | const SimTime & | timeStep = SimTime::MSECS(1.0) , |
|
const SimTime & | windowSize = SimTime::ZERO() | |||
) | [inline] |
constructor
Definition at line 126 of file NeuralDecoder.H.
HoldDecoder::~HoldDecoder | ( | ) | [inline] |
desctructor
Definition at line 132 of file NeuralDecoder.H.
const double HoldDecoder::getOutput | ( | ) | const [virtual] |
get the instantaneous Spikes/Second
Implements NeuralDecoder.
Definition at line 76 of file NeuralDecoder.C.
void HoldDecoder::push | ( | const double & | in | ) | [virtual] |
add some data to the decoder
implementations of HoldDecoder
Implements NeuralDecoder.
Definition at line 63 of file NeuralDecoder.C.
void HoldDecoder::reset | ( | ) | [virtual] |
reset decoder internals
Reimplemented from NeuralDecoder.
Definition at line 82 of file NeuralDecoder.C.