mpicbg.models
Class ErrorStatistic

java.lang.Object
  extended by mpicbg.models.ErrorStatistic

public class ErrorStatistic
extends Object


Field Summary
 double max
           
 double mean
           
 double min
           
 RingBuffer<Double> slope
           
 RingBuffer<Double> sortedValues
           
 double std
           
 double std0
           
 RingBuffer<Double> values
           
 double var
           
 double var0
           
 
Constructor Summary
ErrorStatistic(int capacity)
           
 
Method Summary
 void add(double new_value)
           
 void clear()
           
 double getMedian()
           
 double getWideSlope(int width)
           
 int n()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

values

public final RingBuffer<Double> values

slope

public final RingBuffer<Double> slope

sortedValues

public final RingBuffer<Double> sortedValues

var0

public double var0

var

public double var

std0

public double std0

std

public double std

mean

public double mean

min

public double min

max

public double max
Constructor Detail

ErrorStatistic

public ErrorStatistic(int capacity)
Method Detail

getMedian

public double getMedian()

add

public final void add(double new_value)

getWideSlope

public final double getWideSlope(int width)
                          throws IndexOutOfBoundsException
Throws:
IndexOutOfBoundsException

n

public int n()

clear

public void clear()


Copyright © 2007-2016 Fiji. All Rights Reserved.