Class DLDataUnitDatagram

java.lang.Object
rawDeepLearningClassifier.logging.DLDataUnitDatagram
All Implemented Interfaces:
DatagramProvider

public class DLDataUnitDatagram extends Object implements DatagramProvider
Datagram showing the raw model outputs form the classifier.
Author:
Jamie Macaulay
  • Constructor Details

    • DLDataUnitDatagram

      public DLDataUnitDatagram(DLControl dlContorl)
  • 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