CSIM: ExpSpikeFilter Class Reference
ExpSpikeFilter Class Reference#include <expspikefilter.h>
Inheritance diagram for ExpSpikeFilter:
List of all members.
Detailed Description
Filter which simulates exponential decay of spikes.
Public Member Functions
Public Attributes
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 ). Decay by . |
|
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. |
|