Package gpl

Class GPLDetection

All Implemented Interfaces:
Comparable, PamDetection, AcousticDataUnit, TFContourProvider

public class GPLDetection extends PamDataUnit implements AcousticDataUnit, PamDetection, TFContourProvider
  • Constructor Details

    • GPLDetection

      public GPLDetection(long timeMilliseconds, int channelBitmap, long startSample, long durationSamples, double timeRes, double freqRes, GPLContour aContour)
    • GPLDetection

      public GPLDetection(DataUnitBaseData basicData, double timeRes, double freqRes, GPLContour aContour)
  • Method Details

    • getPeakValue

      public double getPeakValue()
      Returns:
      the peakValue
    • setPeakValue

      public void setPeakValue(double peakValue)
      Parameters:
      peakValue - the peakValue to set
    • getContour

      public GPLContour getContour()
      Returns:
      the contour
    • getTimeRes

      public double getTimeRes()
      Returns:
      the timeRes
    • getFreqRes

      public double getFreqRes()
      Returns:
      the freqRes
    • getTFContourData

      public TFContourData getTFContourData()
      Description copied from interface: TFContourProvider
      Gets time-frequency contour information in units of milliseconds and frequency
      Specified by:
      getTFContourData in interface TFContourProvider
      Returns:
      TFContour data object.