|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface LowPassFilter
Interface for low pass filters.
| Method Summary | |
|---|---|
void |
apply(List<Double> x,
List<Double> y,
List<Double> z,
List<Long> ts)
Does apply this filter to an accelerometer time series stream. |
double[] |
lowPass(double[] x,
double[] y,
long currentTs)
The filter function. |
void |
reset()
Does reset the filter |
void |
setCutOffFrequency(double cf)
Setter for the cut-off frequency |
void |
updateConfiguration(RuntimeConfiguration config)
Does update the filter settings by the given configuration. |
| Method Detail |
|---|
double[] lowPass(double[] x,
double[] y,
long currentTs)
x - the actual input signaly - the last output signalcurrentTs - the current time stamp
void apply(List<Double> x,
List<Double> y,
List<Double> z,
List<Long> ts)
x - the x axis signal streamy - the y axis signal streamz - the z axis signal streamts - the time stampsvoid updateConfiguration(RuntimeConfiguration config)
config - the configuration to update from.void reset()
void setCutOffFrequency(double cf)
cf - the cut-off frequencyy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||