Package export.MLExport
Class MLCPODExport
Export data for any data unit which implements raw data holder.
- Author:
- Jamie Macaulay
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionus.hebi.matlab.mat.types.StructaddDetectionSpecificFields(us.hebi.matlab.mat.types.Struct mlStruct, int index, PamDataUnit dataUnit) Add detection specific fields to a structure.protected us.hebi.matlab.mat.types.StructdetectionHeader(PamDataBlock pamDataBlock) Get the detection header for the specific detection type.static shortGet the CPOD species from an int flaggetName()Get the name of the structureClass<?> Get the unit classMethods inherited from class export.MLExport.MLDataUnitExport
array2Matrix, detectionToStruct, realWordlVec2Angles
-
Constructor Details
-
MLCPODExport
public MLCPODExport()
-
-
Method Details
-
addDetectionSpecificFields
public us.hebi.matlab.mat.types.Struct addDetectionSpecificFields(us.hebi.matlab.mat.types.Struct mlStruct, int index, PamDataUnit dataUnit) Description copied from class:MLDataUnitExportAdd detection specific fields to a structure.- Specified by:
addDetectionSpecificFieldsin classMLDataUnitExport<PamDataUnit<?,?>>
-
getCPODSpecies
Get the CPOD species from an int flag- Parameters:
species- - integer flag representing the species- Returns:
- the ENUM species type.
-
getUnitClass
Description copied from class:MLDataUnitExportGet the unit class- Specified by:
getUnitClassin classMLDataUnitExport<PamDataUnit<?,?>> - Returns:
-
getName
Description copied from class:MLDataUnitExportGet the name of the structure- Specified by:
getNamein classMLDataUnitExport<PamDataUnit<?,?>> - Returns:
-
detectionHeader
Description copied from class:MLDataUnitExportGet the detection header for the specific detection type.- Specified by:
detectionHeaderin classMLDataUnitExport<PamDataUnit<?,?>> - Parameters:
pamDataBlock-- Returns:
- the detection header structure.
-