コード例 #1
0
  private static double smoothOilThickness() {
    double size = oilThicknessValues.size();
    double sigma = 0;
    List<Double> lpf = LowPassFilter.lowPass(oilThicknessValues, alfa);
    for (double v : lpf) sigma += v;

    return sigma / size;
  }