Class LowPassFilter
java.lang.Object
com.stuypulse.stuylib.streams.numbers.filters.LowPassFilter
- All Implemented Interfaces:
IFilter
Implementation of a real time IIR LowPassFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
get
(double next) Get next value in Filter based on the next value given
-
Constructor Details
-
LowPassFilter
- 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