Interface CTClassifier
- All Known Implementing Classes:
 BearingClassifier,Chi2ThresholdClassifier,CTTemplateClassifier,IDIClassifier,StandardClassifier
public interface CTClassifier
A classifier which is used to classify groups of detections
 
In keep with PAMGuard convention the classification has a species flag. In general positive values indicate a species whilst negative values indicate noise or some unwanted classification. A 0 value means a click train is totally unclassified and should be deleted. Generally an ID of 0 is only used by the pre-classifier when running through the detection process for the first time.
- Author:
 - Jamie Macaulay
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFlag which indicates the click train is completely unclassified and should be deleted.static final intFlag which indicates that the classification has passed the pre-classifier stage. - 
Method Summary
Modifier and TypeMethodDescriptionclassifyClickTrain(CTDataUnit clickTrain) Classify a click train detection.getName()Get the name of the classifier.Get the CT classifier params.intGet the unique species ID for the classifier.voidsetParams(CTClassifierParams ctClassifierParams) Set the classifier parameters. 
- 
Field Details
- 
PRECLASSIFIERFLAG
static final int PRECLASSIFIERFLAGFlag which indicates that the classification has passed the pre-classifier stage.- See Also:
 
 - 
NOSPECIES
static final int NOSPECIESFlag which indicates the click train is completely unclassified and should be deleted.- See Also:
 
 
 - 
 - 
Method Details
- 
classifyClickTrain
Classify a click train detection.- Returns:
 - the classified data block.
 
 - 
getName
String getName()Get the name of the classifier.- Returns:
 - the name of the classifier
 
 - 
getSpeciesID
int getSpeciesID()Get the unique species ID for the classifier.- Returns:
 - the name of the classifier
 
 - 
getCTClassifierGraphics
CTClassifierGraphics getCTClassifierGraphics() - 
setParams
Set the classifier parameters.- Parameters:
 ctClassifierParams- - the ct classifier paratmers
 - 
getParams
CTClassifierParams getParams()Get the CT classifier params.- Returns:
 - the CT classifier params.
 
 
 -