AlphaDecoder Class Reference

A Rate decoder using an alpha function. More...

#include <ModelNeuron/NeuralDecoder.H>

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

List of all members.

Public Member Functions

 AlphaDecoder (const SimTime &timeStep=SimTime::MSECS(1.0), const SimTime &windowSize=SimTime::MSECS(15.0))
 implementation of AlphaDecoder
 ~AlphaDecoder ()
 destructor
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 Rate decoder using an alpha function.

Definition at line 239 of file NeuralDecoder.H.


Constructor & Destructor Documentation

AlphaDecoder::AlphaDecoder ( const SimTime timeStep = SimTime::MSECS(1.0),
const SimTime windowSize = SimTime::MSECS(15.0) 
)

implementation of AlphaDecoder

constructor: in this case windowSize is the alpha parameter of the kernel function 1/alpha^2 * t * exp(-1/alpha * t), the actual length of the kernel is determined automatically

Definition at line 168 of file NeuralDecoder.C.

References exp(), SimTime::secs(), SimTime::SECS(), and SimTime::ZERO().

AlphaDecoder::~AlphaDecoder (  )  [inline]

destructor

Definition at line 248 of file NeuralDecoder.H.


Member Function Documentation

const double AlphaDecoder::getOutput (  )  const [virtual]

get the instantaneous Spikes/Second

Implements NeuralDecoder.

Definition at line 210 of file NeuralDecoder.C.

void AlphaDecoder::push ( const double &  in  )  [virtual]

add some data to the decoder

Implements NeuralDecoder.

Definition at line 203 of file NeuralDecoder.C.

void AlphaDecoder::reset (  )  [virtual]

reset decoder internals

Reimplemented from NeuralDecoder.

Definition at line 221 of file NeuralDecoder.C.


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