Class AnnotationDataSelector<TDataAnnotation extends DataAnnotation>

java.lang.Object
PamguardMVC.dataSelector.DataSelector
annotation.dataselect.AnnotationDataSelector<TDataAnnotation>
Direct Known Subclasses:
DLDataSelector, ScalarDataSelector, UserFormDataSelector

public abstract class AnnotationDataSelector<TDataAnnotation extends DataAnnotation> extends DataSelector
  • Constructor Details

  • Method Details

    • getAnnotationType

      public DataAnnotationType<TDataAnnotation> getAnnotationType()
      Returns:
      the annotationType
    • scoreData

      public double scoreData(PamDataUnit pamDataUnit)
      Description copied from class: DataSelector
      Score a PAMDataUnit. this is used in preference to a boolean select function so that the user can add different return flags. Generally 0 indicates false.
      Specified by:
      scoreData in class DataSelector
      Parameters:
      pamDataUnit - - the input data unit.
      Returns:
      score of data out. 0 usually indicates false.
    • getLongSelectorName

      public String getLongSelectorName()
      Description copied from class: DataSelector
      Need a longer more unique name when making compound data selectors, particularly those which are pulling in multiple similar super detections which might be from different datablocks, but might be given the same name.
      Overrides:
      getLongSelectorName in class DataSelector
      Returns: