Package export.MLExport
Class MLWhistleMoanExport
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionus.hebi.matlab.mat.types.Struct
addDetectionSpecificFields
(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 datagetName()
Get the name of the structureClass<?>
Get the unit classMethods inherited from class export.MLExport.MLDataUnitExport
detectionToStruct
-
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:MLDataUnitExport
Add detection specific fields to a structure.- Specified by:
addDetectionSpecificFields
in 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:MLDataUnitExport
Get the unit class- Specified by:
getUnitClass
in classMLDataUnitExport<ConnectedRegionDataUnit>
- Returns:
-
getName
Description copied from class:MLDataUnitExport
Get the name of the structure- Specified by:
getName
in classMLDataUnitExport<ConnectedRegionDataUnit>
- Returns:
-