public class ProbabilityFilter extends Object
Constructor and Description |
---|
ProbabilityFilter() |
Modifier and Type | Method and Description |
---|---|
static ArrayList<ArrayList<Double>> |
getFilteredInput(ArrayList<Double> x,
ArrayList<Double> y,
double p,
MathContext mathContext)
Returns a list containing first the filtered xs and then the filtered ys.
|
public static ArrayList<ArrayList<Double>> getFilteredInput(ArrayList<Double> x, ArrayList<Double> y, double p, MathContext mathContext)
x
- x seriesy
- y seriesp
- the (non cumulative) probability to use for filtering, e.g. 0.95
for 95%mathContext
- the math context to use for the evaluation of the
thresholdCopyright © 2015. All rights reserved.