Package noiseMonitor
Class NoiseSettings
java.lang.Object
noiseMonitor.NoiseSettings
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
May be a channelMap or a sequenceMap, depending on source selectedint
Interval between measurements in secondsint
Number of measures in measurementIntervalSeconds These will be placed at random within the intervalstatic final long
boolean
Tells PAMGUARD to use every single FFT data coming in. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addNoiseMeasurementBand
(int listPos, NoiseMeasurementBand noiseMeasurementBand) Add a noise measurement band at a specific place in the list.void
addNoiseMeasurementBand
(NoiseMeasurementBand noiseMeasurementBand) Add a noise measurement band to the end of the list.clone()
double
Get the highest frequency used by any banddouble
Get the highest frequency used by any band rounded up to nearest factor of 10double
Get the lowest frequency used by any band.double
Get the lowest frequency used by any band.getMeasurementBand
(int i) int
Get a set of data that describes all of the parameters in a classvoid
removeMeasurementBand
(int iBand) Remove a noise measurement band from the list
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
dataSource
-
channelBitmap
public int channelBitmapMay be a channelMap or a sequenceMap, depending on source selected -
measurementIntervalSeconds
public int measurementIntervalSecondsInterval between measurements in seconds -
nMeasures
public int nMeasuresNumber of measures in measurementIntervalSeconds These will be placed at random within the interval -
useAll
public boolean useAllTells PAMGUARD to use every single FFT data coming in.Overrides nMeasures.
-
-
Constructor Details
-
NoiseSettings
public NoiseSettings()
-
-
Method Details
-
getBandIterator
-
getNumMeasurementBands
public int getNumMeasurementBands() -
getMeasurementBand
-
addNoiseMeasurementBand
Add a noise measurement band to the end of the list.- Parameters:
noiseMeasurementBand
- noise band data
-
addNoiseMeasurementBand
Add a noise measurement band at a specific place in the list.- Parameters:
listPos
- position in listnoiseMeasurementBand
- 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
-
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-