Class MLDataUnitExport<T extends PamDataUnit<?,?>>

java.lang.Object
export.MLExport.MLDataUnitExport<T>
Direct Known Subclasses:
MLRawExport, MLWhistleMoanExport

public abstract class MLDataUnitExport<T extends PamDataUnit<?,?>> extends Object
Export a detection to MATLAB
Author:
Jamie Macaulay
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract us.hebi.matlab.mat.types.Struct
    addDetectionSpecificFields(us.hebi.matlab.mat.types.Struct mlStruct, int index, T dataUnit)
    Add detection specific fields to a structure.
    us.hebi.matlab.mat.types.Struct
    detectionToStruct(us.hebi.matlab.mat.types.Struct mlStruct, T dataUnit, int index)
    Create a MATLAB structure which contains all information for a data unit.
    abstract String
    Get the name of the structure
    abstract Class<?>
    Get the unit class

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MLDataUnitExport

      public MLDataUnitExport()
  • Method Details

    • detectionToStruct

      public us.hebi.matlab.mat.types.Struct detectionToStruct(us.hebi.matlab.mat.types.Struct mlStruct, T dataUnit, int index)
      Create a MATLAB structure which contains all information for a data unit.
      Parameters:
      dataUnit - - the data unit to convert to a MATLAB structure
      Returns:
      detection data MATLAB structure ready to be exported to a .mat file or added to a ArrayList.
    • addDetectionSpecificFields

      public abstract us.hebi.matlab.mat.types.Struct addDetectionSpecificFields(us.hebi.matlab.mat.types.Struct mlStruct, int index, T dataUnit)
      Add detection specific fields to a structure.
      Parameters:
      structure - containing all generic info from PamDataUnit
      the - data unit.
    • getUnitClass

      public abstract Class<?> getUnitClass()
      Get the unit class
      Returns:
    • getName

      public abstract String getName()
      Get the name of the structure
      Returns: