Class CompoundParams

java.lang.Object
PamguardMVC.dataSelector.DataSelectParams
PamguardMVC.dataSelector.CompoundParams
All Implemented Interfaces:
Serializable, ManagedParameters

public class CompoundParams extends DataSelectParams
See Also:
  • Field Details

  • Constructor Details

    • CompoundParams

      public CompoundParams()
  • Method Details

    • setSelectorParams

      public void setSelectorParams(DataSelector dataSelector, DataSelectParams params)
    • getSelectorParams

      public DataSelectParams getSelectorParams(DataSelector dataSelector)
    • getCombinationFlag

      public int getCombinationFlag()
      Description copied from class: DataSelectParams
      How to enable / disable / combine one or more dataselectors, particularly in a CompundDataSelector in which case we may want to disable some or all of the different data selectors from different annotations as well as the main data selector for the type of data in the block.

      DATA_SELECT_AND (0) will AND this with previous output (take the minimum of two double results)
      DATA_SELECT_OR (1) will OR this with previous output (take the maximum of two double results)
      DATA_SELECT_DISABLE (2) will disable this data selector (return always 1)

      Overrides:
      getCombinationFlag in class DataSelectParams
      Returns:
      the combinationFlag