Package PamguardMVC

Interface RawDataHolder

All Known Implementing Classes:
ClickDetection, ClipDataUnit, CPODClick, CTDataUnit, DifarDataUnit, DLDetection, MatchTemplate, SimpleClick

public interface RawDataHolder
Interface to be used by PamDataUnits which contain raw data which might get used by other processes. Examples include clicks and output from the clip generator.
Author:
Doug Gillespie
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    Get the raw data transforms class.
    double[][]
    Get arrays of raw audio data, one per channel.
  • Method Details Link icon

    • getWaveData Link icon

      double[][] getWaveData()
      Get arrays of raw audio data, one per channel. Assume that the array matches getChannelMap() !
      Returns:
      arrays of raw data by channel
    • getDataTransforms Link icon

      RawDataTransforms getDataTransforms()
      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.
      Returns:
      the data transforms object.