RectDecoder Class Reference

A decoder using a sliding rectangular window, or moving average. More...

#include <ModelNeuron/NeuralDecoder.H>

Inheritance diagram for RectDecoder:
Inheritance graph
[legend]
Collaboration diagram for RectDecoder:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

A decoder using a sliding rectangular window, or moving average.

Definition at line 180 of file NeuralDecoder.H.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:24:11 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3