Class TriggerBackgroundDataUnit

java.lang.Object
PamguardMVC.PamDataUnit
clickDetector.basicalgorithm.TriggerBackgroundDataUnit
All Implemented Interfaces:
Comparable

public class TriggerBackgroundDataUnit extends PamDataUnit
  • Constructor Details

    • TriggerBackgroundDataUnit

      public TriggerBackgroundDataUnit(long timeMilliseconds, int channelBitmap, double[] backgroundData)
    • TriggerBackgroundDataUnit

      public TriggerBackgroundDataUnit(DataUnitBaseData baseData, double[] backgroundData)
  • Method Details

    • getBackgroundData

      public double[] getBackgroundData()
      Returns:
      the backgroundData
    • getAbsoluteAmplitudes

      public double[] getAbsoluteAmplitudes()
      Returns:
      values in dB re 1uPa using PAMGuard calibration data.
    • setAbsoluteAmplitudes

      public void setAbsoluteAmplitudes(double[] absoluteAmplitudes)
      Parameters:
      absoluteAmplitudes - the absoluteAmplitudes to set
    • setBackgroundData

      public void setBackgroundData(double[] backgroundData)
      Parameters:
      backgroundData - the backgroundData to set
    • getMaxValue

      public double getMaxValue()
      Returns:
      the largest value. should all be positive so no need to check for negative values.