Package clickDetector

Class ClickTrainDetection

All Implemented Interfaces:
Comparable<PamDataUnit>, PamDetection, AcousticDataUnit

public class ClickTrainDetection extends OfflineEventDataUnit
Automatic click train's from the click train detector.
Author:
dg50
  • Field Details

  • Method Details

    • getClickAngle

      public static double getClickAngle(ClickDetection click)
      Get the most useful angle to use in a click.
      Parameters:
      click -
      Returns:
      angle in radians.
    • addSubDetection

      public int addSubDetection(ClickDetection click)
    • getTrainStatus

      public int getTrainStatus()
    • setTrainStatus

      public void setTrainStatus(int trainStatus)
    • getTrainId

      public int getTrainId()
    • setTrainId

      public void setTrainId(int trainId)
    • getMaxAngle

      public double getMaxAngle()
    • getMinAngle

      public double getMinAngle()
    • getLastClickTime

      public long getLastClickTime()
    • getLastClick

      public ClickDetection getLastClick()
    • isShouldPlot

      public boolean isShouldPlot()
    • setShouldPlot

      public void setShouldPlot(boolean shouldPlot)