Package export.MLExport
Class MLWhistleMoanExport
-
Constructor Summary
Constructors -
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 dataprotected us.hebi.matlab.mat.types.Struct
detectionHeader
(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
-
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:
-
detectionHeader
Description copied from class:MLDataUnitExport
Get the detection header for the specific detection type.- Specified by:
detectionHeader
in classMLDataUnitExport<ConnectedRegionDataUnit>
- Parameters:
pamDataBlock
-- Returns:
- the detection header structure.
-