Class DetectionGrouper

java.lang.Object
group3dlocaliser.grouper.DetectionGrouper

public class DetectionGrouper extends Object
Receives detections, which may come from multiple channel groups, which in the case of the click detector means they may not be in order (or for any other detector in fact) and may have come out of multiple threads, so can get dead messy.
Author:
dg50
  • Constructor Details Link icon

  • Method Details Link icon

    • newData Link icon

      public void newData(PamDataUnit pamDataUnit)
    • masterClockUpdate Link icon

      public void masterClockUpdate(long timeMilliseconds, long sampleNumber)
    • closeMotherGroup Link icon

      public void closeMotherGroup()
      Close the existing group and make a new one.
    • canSelectData Link icon

      public boolean canSelectData(PamDataUnit dataUnit)
    • clear Link icon

      public void clear()
    • getGroupedSourceParameters Link icon

      public GroupedSourceParameters getGroupedSourceParameters()
      Returns:
      the groupedSourceParameters
    • setGroupedSourceParameters Link icon

      public void setGroupedSourceParameters(GroupedSourceParameters groupedSourceParameters, double sampleRate)
      Parameters:
      groupedSourceParameters - the groupedSourceParameters to set
    • calculateGroupDelays Link icon

      public void calculateGroupDelays(double sampleRate)
    • getDetectionGrouperParams Link icon

      public DetectionGrouperParams getDetectionGrouperParams()
      Returns:
      the detectionGrouperParams
    • setDetectionGrouperParams Link icon

      public void setDetectionGrouperParams(DetectionGrouperParams detectionGrouperParams)
      Parameters:
      detectionGrouperParams - the detectionGrouperParams to set
    • getDataSelector Link icon

      public DataSelector getDataSelector()
      Returns:
      the dataSelector
    • setDataSelector Link icon

      public void setDataSelector(DataSelector dataSelector)
      Parameters:
      dataSelector - the dataSelector to set