Package noiseMonitor

Class NoiseSettings

java.lang.Object
noiseMonitor.NoiseSettings
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class NoiseSettings extends Object implements Serializable, Cloneable, ManagedParameters
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • dataSource

      public String dataSource
    • channelBitmap

      public int channelBitmap
      May be a channelMap or a sequenceMap, depending on source selected
    • measurementIntervalSeconds

      public int measurementIntervalSeconds
      Interval between measurements in seconds
    • nMeasures

      public int nMeasures
      Number of measures in measurementIntervalSeconds These will be placed at random within the interval
    • useAll

      public boolean useAll
      Tells PAMGUARD to use every single FFT data coming in.

      Overrides nMeasures.

  • Constructor Details

    • NoiseSettings

      public NoiseSettings()
  • Method Details

    • getBandIterator

      public ListIterator<NoiseMeasurementBand> getBandIterator()
    • getNumMeasurementBands

      public int getNumMeasurementBands()
    • getMeasurementBand

      public NoiseMeasurementBand getMeasurementBand(int i)
    • addNoiseMeasurementBand

      public void addNoiseMeasurementBand(NoiseMeasurementBand noiseMeasurementBand)
      Add a noise measurement band to the end of the list.
      Parameters:
      noiseMeasurementBand - noise band data
    • addNoiseMeasurementBand

      public void addNoiseMeasurementBand(int listPos, NoiseMeasurementBand noiseMeasurementBand)
      Add a noise measurement band at a specific place in the list.
      Parameters:
      listPos - position in list
      noiseMeasurementBand - noise band data
    • removeMeasurementBand

      public void removeMeasurementBand(int iBand)
      Remove a noise measurement band from the list
      Parameters:
      iBand - band index
    • getLowestFrequency

      public double getLowestFrequency()
      Get the lowest frequency used by any band.
    • getHighestFrequency

      public double getHighestFrequency()
      Get the highest frequency used by any band
      Returns:
    • getLowestFrequency10

      public double getLowestFrequency10()
      Get the lowest frequency used by any band. rounded down to nearest factor of 10
    • getHighestFrequency10

      public double getHighestFrequency10()
      Get the highest frequency used by any band rounded up to nearest factor of 10
      Returns:
    • clone

      public NoiseSettings clone()
    • getParameterSet

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.