Package clickDetector.ClickClassifiers
Interface ClickIdentifier
- All Superinterfaces:
ClickTypeProvider
- All Known Implementing Classes:
BasicClickIdentifier
,NullClassifier
,SweepClassifier
- Author:
- Doug Gillespie
Interface for click identification from the click detector
-
Method Summary
Modifier and TypeMethodDescriptionA pane which holds specific settings for the click classifier type selected.double
getClickLength
(ClickDetection click) Returns the click length for the sweep classifier, using the times returned by the SweepClassifierWorker method getLengthData.getCommonParams
(int code) Return the superclass of the click type parameters class - currently used for accessing the alarm functions.getDialogPanel
(Frame windowFrame) getMenuItem
(Frame parentFrame) getParamsInfo
(ClickDetection click) double[]
getPeakSearchRange
(ClickDetection click) return the peak/mean frequency search range for the sweep classifier, or a null.getSpeciesName
(int code) getSymbol
(ClickDetection click) Get symbols for each click type.return the zeroCrossingStats object in the case of the sweep classifier, or a null.identify
(ClickDetection click) Identify a click detection as a click type.Methods inherited from interface clickDetector.ClickClassifiers.ClickTypeProvider
codeToListIndex, getCodeList, getSpeciesList, getSymbolsData
-
Method Details
-
identify
Identify a click detection as a click type.- Parameters:
click
- - the click to identfy.- Returns:
- the click to
-
getMenuItem
-
getSymbol
-
getDialogPanel
-
getSpeciesName
-
getParamsInfo
-
getSymbols
PamSymbol[] getSymbols()Get symbols for each click type.- Returns:
- the symbols for type.
-
getCommonParams
Return the superclass of the click type parameters class - currently used for accessing the alarm functions. Subclasses include ClickTypeParams and SweepClassifierSet.- Parameters:
code
- the click type to check- Returns:
- the ClickTypeCommonParams object related to the species code
-
getZeroCrossingStats
return the zeroCrossingStats object in the case of the sweep classifier, or a null. 2014/07/25 MO- Parameters:
click
- the clickDetection to examine- Returns:
-
getPeakSearchRange
return the peak/mean frequency search range for the sweep classifier, or a null. 2014/08/03 MO- Parameters:
click
- the clickDetection to examine- Returns:
-
getClickLength
Returns the click length for the sweep classifier, using the times returned by the SweepClassifierWorker method getLengthData. In the case of a different classifier, or if there is an error in the sweep classifier, a 0 is returned. 2014/10/13 MO- Parameters:
click
- the current click detection- Returns:
- the click duration, in seconds
-
getClassifierPane
ClassifyPaneFX getClassifierPane()A pane which holds specific settings for the click classifier type selected.- Returns:
- the classifier pane
-