CSIM: ExpSpikeFilter Class Reference

ExpSpikeFilter Class Reference

#include <expspikefilter.h>

Inheritance diagram for ExpSpikeFilter:

SpikeFilter FilterFunction Advancable csimClass List of all members.

Detailed Description

Filter which simulates exponential decay of spikes.

Public Member Functions

Public Attributes

  • double m_tau1
    Time constant.

Protected Member Functions

Protected Attributes

Friends


Constructor & Destructor Documentation

ExpSpikeFilter::ExpSpikeFilter double  tau1 = 30e-3  ) 
 

Constructs a new exponential-decay filter.

Parameters:
tau1 Time constant (default $tau_1 = 0.03$ ). Decay by $exp(-DT/\tau_1)$ .


Member Function Documentation

double ExpSpikeFilter::processSpike int  channel,
double *  target
[protected, virtual]
 

Process the occurence of a spike.

Parameters:
channel Index of the channel to filter.
target Target value where to store the new filtered value.

Implements SpikeFilter.

int ExpSpikeFilter::updateInternal  )  [virtual]
 

Updates the internal state of the filter.

Reimplemented from FilterFunction.


 
(C) 2003, Thomas Natschläger last modified 07/10/2006