Class GroupDetection<T extends PamDataUnit>

java.lang.Object
PamguardMVC.PamDataUnit<T,SuperDetection>
PamguardMVC.superdet.SuperDetection<T>
Localiser.detectionGroupLocaliser.GroupDetection<T>
All Implemented Interfaces:
Comparable<PamDataUnit>, PamDetection, AcousticDataUnit
Direct Known Subclasses:
OfflineEventDataUnit, SegmenterDetectionGroup, WhistleGroupDetection, WhistleToneGroupedDetection

public class GroupDetection<T extends PamDataUnit> extends SuperDetection<T> implements PamDetection
  • Field Details Link icon

  • Constructor Details Link icon

    • GroupDetection Link icon

      public GroupDetection(T firstDetection)
    • GroupDetection Link icon

      public GroupDetection(long timeMilliseconds, int channelBitmap, long startSample, long duration)
      Note that if using this constructor, the sequence map will have to be set explicitly by the calling class
      Parameters:
      timeMilliseconds -
      channelBitmap -
      startSample -
      duration -
  • Method Details Link icon

    • makeLocalisation Link icon

      public void makeLocalisation()
    • addSubDetection Link icon

      public int addSubDetection(T subDetection)
      Description copied from class: SuperDetection
      Add a sub detection to the sub detection list.
      Overrides:
      addSubDetection in class SuperDetection<T extends PamDataUnit>
      Parameters:
      subDetection - - the sub detection to add.
      Returns:
      - the total number of sub detections now in the list. .
    • getStatus Link icon

      public int getStatus()
    • setStatus Link icon

      public void setStatus(int status)
    • getEventId Link icon

      public int getEventId()
    • setEventId Link icon

      public void setEventId(int eventId)
    • getPredictedBearing Link icon

      public Double getPredictedBearing(long predictionTime)
    • getGroupDetectionLocalisation Link icon

      public GroupLocalisation getGroupDetectionLocalisation()
      Get the
      Returns:
    • addFitData Link icon

      @Deprecated public void addFitData(int iSide, GpsData originLatLong, LatLong detectionLatLong, double bearing, double range, double referenceHeading, double perpendicularError, double parallelError, double referenceHeading2)
      Deprecated.
    • setEventEndTime Link icon

      public void setEventEndTime(long eventEndTime)
    • getEventEndTime Link icon

      public long getEventEndTime()