Class IshDetection

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

public class IshDetection extends PamDataUnit<PamDataUnit,SuperDetection> implements PamDetection
Basic detection on a single channel for the Ishmael det/loc.

Note that the Ishmael detection does not contain raw wav data - this is intentional as the clip generator can be used to generate clips if required. As the Ishmael detector is a high false positive rate intial detection stage then it may very well be beneficial not to store clips but simply pass the raw data to downstream processes.

Author:
Doug Gillespie, Jamie Macaulay and Dave Mellinger
  • Field Details Link icon

  • Constructor Details Link icon

    • IshDetection Link icon

      public IshDetection(long startMsec, long endMsec, float lowFreq, float highFreq, long peakTimeSam, double peakHeight, PamDataBlock parentDataBlock, int channelBitmap, long startSam, long durationSam)
    • IshDetection Link icon

      public IshDetection(DataUnitBaseData baseData, long peakTimeSample, double peakHeight)
  • Method Details Link icon

    • getCallType Link icon

      public String getCallType()
    • setCallType Link icon

      public void setCallType(String callType)
    • getPeakDelaySec Link icon

      public double getPeakDelaySec()
    • getPeakHeight Link icon

      public double getPeakHeight()
    • getPeakTimeSam Link icon

      public double getPeakTimeSam()
    • setPeakDelaySec Link icon

      public void setPeakDelaySec(double peakDelaySec)
    • setPeakHeight Link icon

      public void setPeakHeight(double peakHeight)
    • setPeakTimeSam Link icon

      public void setPeakTimeSam(double peakTimeSam)
    • setInfo Link icon

      public void setInfo(long startMsec, int channelBitmap, long startSam, long durationSam, float lowFreq, float highFreq, long peakTimeSam, double peakHeight)
      Set various parameters.
      Parameters:
      startMsec -
      channelBitmap -
      startSam - relative to start of PAMGUARD run
      durationSam -
      lowFreq - lower edge of call T/F box, Hz
      highFreq - upper edge of call T/F box, Hz
      peakTimeSam - relative to start of PAMGUARD run
      peakHeight - measure of detection quality; different detectors will scale it differently, so it's only comparable within a detector type
    • getSummaryString Link icon

      public String getSummaryString()
      Description copied from class: PamDataUnit
      Return an html formatted summary string describing the detection which can be used in tooltips anywhere in PAMGuard.
      Overrides:
      getSummaryString in class PamDataUnit<PamDataUnit,SuperDetection>
      Returns:
      summary string