Package export.MLExport
Class MLWhistleMoanExport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionus.hebi.matlab.mat.types.StructaddDetectionSpecificFields(us.hebi.matlab.mat.types.Struct mlStruct, int index, ConnectedRegionDataUnit dataUnit) Add detection specific fields to a structure.static int[][]calcPeakContourWidths(ConnectedRegionDataUnit dataUnit) Calculate summary contour information to allow people to conveniently plot whisltle dataprotected us.hebi.matlab.mat.types.StructdetectionHeader(PamDataBlock pamDataBlock) Get the detection header for the specific detection type.getName()Get the name of the structureClass<?> Get the unit classMethods inherited from class export.MLExport.MLDataUnitExport
array2Matrix, detectionToStruct, realWordlVec2Angles
-
Constructor Details
-
MLWhistleMoanExport
public MLWhistleMoanExport()
-
-
Method Details
-
addDetectionSpecificFields
public us.hebi.matlab.mat.types.Struct addDetectionSpecificFields(us.hebi.matlab.mat.types.Struct mlStruct, int index, ConnectedRegionDataUnit dataUnit) Description copied from class:MLDataUnitExportAdd detection specific fields to a structure.- Specified by:
addDetectionSpecificFieldsin classMLDataUnitExport<ConnectedRegionDataUnit>
-
calcPeakContourWidths
Calculate summary contour information to allow people to conveniently plot whisltle data- Parameters:
dataUnit- - the connected region data unit.- Returns:
- peak contour frequency int[0] and contour width int[1].
-
getUnitClass
Description copied from class:MLDataUnitExportGet the unit class- Specified by:
getUnitClassin classMLDataUnitExport<ConnectedRegionDataUnit>- Returns:
-
getName
Description copied from class:MLDataUnitExportGet the name of the structure- Specified by:
getNamein classMLDataUnitExport<ConnectedRegionDataUnit>- Returns:
-
detectionHeader
Description copied from class:MLDataUnitExportGet the detection header for the specific detection type.- Specified by:
detectionHeaderin classMLDataUnitExport<ConnectedRegionDataUnit>- Parameters:
pamDataBlock-- Returns:
- the detection header structure.
-