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

  • Constructor Details

    • GroupDetection

      public GroupDetection(T firstDetection)
    • GroupDetection

      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

    • makeLocalisation

      public void makeLocalisation()
    • addSubDetection

      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

      public int getStatus()
    • setStatus

      public void setStatus(int status)
    • getEventId

      public int getEventId()
    • setEventId

      public void setEventId(int eventId)
    • getPredictedBearing

      public Double getPredictedBearing(long predictionTime)
    • getGroupDetectionLocalisation

      public GroupLocalisation getGroupDetectionLocalisation()
      Get the
      Returns:
    • addFitData

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

      public void setEventEndTime(long eventEndTime)
    • getEventEndTime

      public long getEventEndTime()