JavaScript is disabled on your browser.
All Implemented Interfaces:
IFilter
Implementation of a real time IIR LowPassFilter
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
double
Get next value in Filter based on the next value given
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
LowPassFilter
public LowPassFilter (Number rc)
Parameters:
rc
- Time Constant. The time constant is the amount of time in seconds that it takes to
get 63.2% of the way to the target value. 63.2% is (1 - (1 / e)).
Method Details
get
public double get (double next)
Description copied from interface: IFilter
Get next value in Filter based on the next value given
Specified by:
get
in interface IFilter
Parameters:
next
- next input value in the stream
Returns:
the output value of the filter