Class BeskopeClassifierManager
java.lang.Object
matchedTemplateClassifer.bespokeClassification.BeskopeClassifierManager
Manages classification flags and/or any bespoke alteration to specific types of data units
after an MT Classification has been processed.
For example, ClickDetections have a species flag which is used by many displays and saved in binary files. Although the Annotation framework the MTClassifier uses is generic across all types of data unit it is still useful to add the flag to the ClickDetection. This helps both simplify post analysis tasks as flags are saved to the binary file and also ensure that classified clicks are coloured differently on many displays.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bespokeDataUnitFlags
(PamDataUnit pamDataUnit, boolean classify) Classifies specific data units if they have bespoke data unit specific species flags.void
updateSettings
(MatchedTemplateParams newParams) Called whenever the settings of the matched click classifier are updated.
-
Constructor Details
-
BeskopeClassifierManager
-
-
Method Details
-
updateSettings
Called whenever the settings of the matched click classifier are updated. -
bespokeDataUnitFlags
Classifies specific data units if they have bespoke data unit specific species flags. Some data units will not be affected by this function.Note: 26/08/2019 that until PG has a unified classification framework this is always going to be a bit of a messy function.
- Parameters:
pamDataUnit
- - the input data unit to add classification flags to.classify
- - true if binary classifier test has been passed.
-