Class RWEDatagramProvider

java.lang.Object
RightWhaleEdgeDetector.RWEDatagramProvider
All Implemented Interfaces:
DatagramProvider

public class RWEDatagramProvider extends Object implements DatagramProvider
  • Constructor Details

    • RWEDatagramProvider

      public RWEDatagramProvider()
  • Method Details

    • getNumDataGramPoints

      public int getNumDataGramPoints()
      Description copied from interface: DatagramProvider
      Get the number of points required in a datagram by these data (e.g. half the fft length)
      Specified by:
      getNumDataGramPoints in interface DatagramProvider
      Returns:
      the number of points in each time slice
    • addDatagramData

      public int addDatagramData(PamDataUnit dataUnit, float[] dataGramLine)
      Description copied from interface: DatagramProvider
      Add datagram data to the dataGram line. The implementation should simply add data into the passed array.
      Specified by:
      addDatagramData in interface DatagramProvider
      Returns:
      number of points added ?
    • getScaleInformation

      public DatagramScaleInformation getScaleInformation()
      Specified by:
      getScaleInformation in interface DatagramProvider
      Returns:
      information on the datagram scale