Package gpl.whiten

Class InfiniteSortGroup

java.lang.Object
gpl.whiten.InfiniteSortGroup

public class InfiniteSortGroup extends Object
Wraps multiple Infinitesorts to provide something akin to Matrix sorting.
Author:
Doug Gillespie
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    InfiniteSortGroup(int nRows, int nTimeBins)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    double[]
    addData(double[] newData)
    Add a row of data to an array of individual InfiniteSorts.
    double[]
    Get an array of the central means of all sorters in the group.
    void
    setAutoInitialise(int autoInitialise)
    Tell the sorters to automatically fill themselves with repeated data at startup when autoInitialise input datas have arrived.

    Methods inherited from class java.lang.Object Link icon

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details Link icon

    • InfiniteSortGroup Link icon

      public InfiniteSortGroup(int nRows, int nTimeBins)
  • Method Details Link icon

    • addData Link icon

      public double[] addData(double[] newData)
      Add a row of data to an array of individual InfiniteSorts.
      Parameters:
      newData - array of new data. Must be equal to the number of rows.
      Returns:
      array of removed data.
    • getCentralMean Link icon

      public double[] getCentralMean()
      Get an array of the central means of all sorters in the group.
      Returns:
      array of central means.
    • setAutoInitialise Link icon

      public void setAutoInitialise(int autoInitialise)
      Tell the sorters to automatically fill themselves with repeated data at startup when autoInitialise input datas have arrived. This can speed up algorithm settling at detector startup.
      Parameters:
      autoInitialise -