CSIM: TriangularAnalogFilter Class Reference

TriangularAnalogFilter Class Reference

#include <triangularanalogfilter.h>

Inheritance diagram for TriangularAnalogFilter:

AnalogFilter FilterFunction Advancable csimClass List of all members.

Detailed Description

Implementation of an analog low-pass filter with a triangular kernel.

Public Member Functions

Friends


Constructor & Destructor Documentation

TriangularAnalogFilter::TriangularAnalogFilter unsigned int  kernel_length = 1  ) 
 

Constructs a new triangular analog filter.

Parameters:
kernel_length The length of the filter kernel.


Member Function Documentation

void TriangularAnalogFilter::createKernel unsigned int  n  )  [virtual]
 

Calculates a new triangular kernel for the given number of data points.

Parameters:
n Number of data points to filter.

Implements AnalogFilter.


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