Class BearingClassifier
java.lang.Object
clickTrainDetector.classification.bearingClassifier.BearingClassifier
- All Implemented Interfaces:
CTClassifier
A bearing based classifier for click train. Probably most useful as a way to get rid of click train
which are due to electrical and/or propeller noise.
- Author:
- Jamie Macaulay
-
Field Summary
Fields inherited from interface clickTrainDetector.classification.CTClassifier
NOSPECIES, PRECLASSIFIERFLAG
-
Constructor Summary
ConstructorDescriptionBearingClassifier
(int defaultSpeciesID) Constructor for the bearing classifierBearingClassifier
(ClickTrainControl clickTrainControl, int defaultSpeciesID) Constructor for the bearing classifier -
Method Summary
Modifier and TypeMethodDescriptionclassifyClickTrain
(CTDataUnit clickTrain) Classify a click train detection.getName()
Get the name of the classifier.Bearing classifier parameters.int
Get the unique species ID for the classifier.void
setParams
(CTClassifierParams ctClassifierParams) Set the classifier parameters.
-
Constructor Details
-
BearingClassifier
Constructor for the bearing classifier -
BearingClassifier
public BearingClassifier(int defaultSpeciesID) Constructor for the bearing classifier
-
-
Method Details
-
classifyClickTrain
Description copied from interface:CTClassifier
Classify a click train detection.- Specified by:
classifyClickTrain
in interfaceCTClassifier
- Returns:
- the classified data block.
-
getName
Description copied from interface:CTClassifier
Get the name of the classifier.- Specified by:
getName
in interfaceCTClassifier
- Returns:
- the name of the classifier
-
getSpeciesID
public int getSpeciesID()Description copied from interface:CTClassifier
Get the unique species ID for the classifier.- Specified by:
getSpeciesID
in interfaceCTClassifier
- Returns:
- the name of the classifier
-
getCTClassifierGraphics
- Specified by:
getCTClassifierGraphics
in interfaceCTClassifier
-
setParams
Description copied from interface:CTClassifier
Set the classifier parameters.- Specified by:
setParams
in interfaceCTClassifier
- Parameters:
ctClassifierParams
- - the ct classifier paratmers
-
getParams
Bearing classifier parameters.- Specified by:
getParams
in interfaceCTClassifier
- Returns:
- the bearing classifier parameters.
-