Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

AlphaSpikeFilter Class Reference

#include <alphaspikefilter.h>

Inheritance diagram for AlphaSpikeFilter:

SpikeFilter FilterFunction Advancable List of all members.

Detailed Description

Filter which simulates spikes with alpha functions.

Public Member Functions

Public Attributes

Protected Member Functions

Protected Attributes

Friends


Constructor & Destructor Documentation

AlphaSpikeFilter::AlphaSpikeFilter double    tau1 = 30e-3,
double    tau2 = 3e-3
 

Constructs a new alpha-function spike filter.

Parameters:
tau1 Time constant (default ). Decay by .
tau2 Time constant (default ). Decay by .


Member Function Documentation

double AlphaSpikeFilter::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 AlphaSpikeFilter::updateInternal   [virtual]
 

Updates the internal state of the filter.

Reimplemented from FilterFunction.