com.speckled.specksim.datagen
Class StatisticsRecorder

java.lang.Object
  extended by com.speckled.specksim.datagen.StatisticsRecorder

public class StatisticsRecorder
extends java.lang.Object

Records the output of a StatisticsModule when prompted, over a series of run repetitions

Author:
ryanm

Field Summary
 StatisticsModule module
          The statistics module that this recorder is recording
 
Method Summary
 float[][][] averageData()
          Gets the data from this recorder, averaged over the repetitions
 float[][][] standardDeviation()
          Gets the standard deviation of the data from this recorder over the repetitions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

module

public final StatisticsModule module
The statistics module that this recorder is recording

Method Detail

averageData

public float[][][] averageData()
Gets the data from this recorder, averaged over the repetitions

Returns:
The averaged data. 1st index = xPoint, 2nd = yPoint, 3rd = Stat index

standardDeviation

public float[][][] standardDeviation()
Gets the standard deviation of the data from this recorder over the repetitions

Returns:
The standard deviation of the data. 1st index = xPoint, 2nd = yPoint, 3rd = Stat index