Class DelphinIDUtils.ClickDetectionMAT

java.lang.Object
PamguardMVC.PamDataUnit
rawDeepLearningClassifier.dlClassification.delphinID.DelphinIDUtils.ClickDetectionMAT
All Implemented Interfaces:
Comparable, RawDataHolder
Enclosing class:
DelphinIDUtils

public static class DelphinIDUtils.ClickDetectionMAT extends PamDataUnit implements RawDataHolder
Subclass of Abstract whsitle data unit for loading whistle contours from .mat files.
  • Constructor Details Link icon

    • ClickDetectionMAT Link icon

      public ClickDetectionMAT(DataUnitBaseData baseData, double[][] waveform, float sampleRate)
  • Method Details Link icon

    • getWaveData Link icon

      public double[][] getWaveData()
      Description copied from interface: RawDataHolder
      Get arrays of raw audio data, one per channel. Assume that the array matches getChannelMap() !
      Specified by:
      getWaveData in interface RawDataHolder
      Returns:
      arrays of raw data by channel
    • getDataTransforms Link icon

      public RawDataTransforms getDataTransforms()
      Description copied from interface: RawDataHolder
      Get the raw data transforms class. This handles standard data transforms that are often used in raw data units, e.g. calculating the spectrum, filtering waveforms, getting data as an int16 (short) array, etc.
      Specified by:
      getDataTransforms in interface RawDataHolder
      Returns:
      the data transforms object.