Class RWESound

java.lang.Object
RightWhaleEdgeDetector.RWESound

public class RWESound extends Object
  • Field Details

    • peakStolen

      public boolean peakStolen
    • sliceCount

      public int sliceCount
    • sliceList

      public int[] sliceList
    • lowFreq

      public int[] lowFreq
    • highFreq

      public int[] highFreq
    • peakFreq

      public int[] peakFreq
    • peakAmp

      public double[] peakAmp
    • signal

      public double signal
    • noise

      public double noise
    • maxOT

      public int maxOT
    • soundType

      public int soundType
  • Constructor Details

    • RWESound

      public RWESound(long timeMilliseconds, RWEDetectionPeak aPeak, int numOT)
  • Method Details

    • extendAllocation

      public void extendAllocation()
      Add one more bin to everything in the sound
    • addPeak

      public void addPeak(int sliceNum, RWEDetectionPeak newPeak, int numOT)
      Add a new peak to extend the slice.
      Parameters:
      sliceNum - slice num relative to start of sound
      newPeak - new peak with associated data.
      numOT - number of bins over threshold.
    • getTypeString

      public String getTypeString()
    • getTypeString

      public static String getTypeString(int soundType)
    • getNumSoundTypes

      public static int getNumSoundTypes()