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.Struct
addDetectionSpecificFields
(us.hebi.matlab.mat.types.Struct mlStruct, int index, PamDataUnit dataUnit) Add detection specific fields to a structure.protected us.hebi.matlab.mat.types.Struct
detectionHeader
(PamDataBlock pamDataBlock) Get the detection header for the specific detection type.static short
Get 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
-
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:MLDataUnitExport
Add detection specific fields to a structure.- Specified by:
addDetectionSpecificFields
in 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:MLDataUnitExport
Get the unit class- Specified by:
getUnitClass
in classMLDataUnitExport<PamDataUnit<?,
?>> - Returns:
-
getName
Description copied from class:MLDataUnitExport
Get the name of the structure- Specified by:
getName
in classMLDataUnitExport<PamDataUnit<?,
?>> - Returns:
-
detectionHeader
Description copied from class:MLDataUnitExport
Get the detection header for the specific detection type.- Specified by:
detectionHeader
in classMLDataUnitExport<PamDataUnit<?,
?>> - Parameters:
pamDataBlock
-- Returns:
- the detection header structure.
-