CSIM: AnalogFilter Class Reference
AnalogFilter Class Reference#include <analogfilter.h>
Inheritance diagram for AnalogFilter:
List of all members.
Detailed Description
Base class of all analog filters.
Public Member Functions
Public Attributes
Protected Attributes
Constructor & Destructor Documentation
AnalogFilter::AnalogFilter |
( |
unsigned int |
kernel_length |
) |
|
|
|
Constructs a new analog filter. - Parameters:
-
| kernel_length | The length of the filter kernel. |
|
AnalogFilter::~AnalogFilter |
( |
void |
|
) |
[virtual] |
|
Member Function Documentation
void AnalogFilter::addChannel |
( |
|
) |
[virtual] |
|
virtual void AnalogFilter::createKernel |
( |
unsigned int |
n |
) |
[pure virtual] |
|
int AnalogFilter::filter |
( |
const double * |
r, |
|
|
double * |
x, |
|
|
int * |
indices = 0 |
|
) |
[virtual] |
|
|
Filter a response signal of the neural microcircuit. - Parameters:
-
| r | Response of the neural microcircuit. |
| x | Target vector where to save the results. |
| indices | Indices where to store the results in X. |
- Returns:
- -1 if an error occured, 1 for success.
Implements FilterFunction. |
void AnalogFilter::reset |
( |
|
) |
[virtual] |
|
|
Resets the information stored within the filter.
Implements FilterFunction. |
int AnalogFilter::setNumInputs |
( |
unsigned int |
nInputs |
) |
[virtual] |
|
|
Sets the number of input channels. - Parameters:
-
| nInputs | The number of inputs. |
- Returns:
- -1 if an error occured, 1 for success.
|
int AnalogFilter::updateInternal |
( |
|
) |
[virtual] |
|
|