Class BearingClassification
java.lang.Object
clickTrainDetector.classification.bearingClassifier.BearingClassification
- All Implemented Interfaces:
 CTClassification
Classification result from the bearing classifier.
- Author:
 - Jamie Macaulay
 
- 
Constructor Summary
ConstructorsConstructorDescriptionBearingClassification(int speciesID, double meanBearingDiff, double medianBearingDiff, double stdBearingDiff) Constructor for the bearing classifier.BearingClassification(String jsonstring) Bearing classification from a JSON string. - 
Method Summary
Modifier and TypeMethodDescriptionThe classifier typeGet string logging for the classifier.doubleGet the mean of bearing delta values in radians per second.doubleGet the median of bearing delta values in radians per second.intGet the species ID for the classifier.doubleGet the standard deviation in bearing delta values in radians per second.Get summary string for classifiers. 
- 
Constructor Details
- 
BearingClassification
public BearingClassification(int speciesID, double meanBearingDiff, double medianBearingDiff, double stdBearingDiff) Constructor for the bearing classifier.- Parameters:
 speciesID- - the speciesID flag.meanBearingDiff- - the mean bearing derivative of a click train in RADIANS/SECONDmedianBearingDiff- - the median bearing derivative of a click train in RADIANS/SECONDstdBearingDiff- - the standard deviation of the bearing derivative of a click train in RADIANS/SECOND
 - 
BearingClassification
Bearing classification from a JSON string.- Parameters:
 jsonstring- - JSON string containing the bearing data.
 
 - 
 - 
Method Details
- 
getClassifierType
Description copied from interface:CTClassificationThe classifier type- Specified by:
 getClassifierTypein interfaceCTClassification- Returns:
 - the classifier type
 
 - 
getSpeciesID
public int getSpeciesID()Description copied from interface:CTClassificationGet the species ID for the classifier. 0 is unassigned and will results in the click train being deleted . >0 means the click train has been classified. invalid input: '<'0 means that the click train has been detected but not classified.- Specified by:
 getSpeciesIDin interfaceCTClassification- Returns:
 - the species ID for the classifier.
 
 - 
getSummaryString
Description copied from interface:CTClassificationGet summary string for classifiers.- Specified by:
 getSummaryStringin interfaceCTClassification- Returns:
 - a string summary of classifiers.
 
 - 
getJSONLogging
Description copied from interface:CTClassificationGet string logging for the classifier.- Specified by:
 getJSONLoggingin interfaceCTClassification- Returns:
 - the JSON logging
 
 - 
getMedianDelta
public double getMedianDelta()Get the median of bearing delta values in radians per second.- Returns:
 - the median bearing delta in rad/s.
 
 - 
getMeanDelta
public double getMeanDelta()Get the mean of bearing delta values in radians per second.- Returns:
 - the mean bearing delta in rad/s
 
 - 
getStdDelta
public double getStdDelta()Get the standard deviation in bearing delta values in radians per second.- Returns:
 - the standard deviation in bearing delta in rad/s
 
 
 -