Package likelihoodDetectionModule
Class SignalBand
java.lang.Object
likelihoodDetectionModule.SignalBand
- All Implemented Interfaces:
Serializable
,ManagedParameters
Represents the parameters that make up a signal band, used as
input to the Likelihood detection algorithm. This class is stored
in the TargetConfiguration object.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptiondouble
The background seconds.double
The end frequency hz.double[]
The frequency's limits.double
The guard band threshold, in db.double[]
The guard band threshold's limits.The signal band identifier.double
The in-band threshold, in db.double[]
The in-band threshold's limits.double[]
The seconds between detection's limits.double
The signal seconds.double
The start frequency hz. -
Constructor Summary
ConstructorDescriptionSignalBand
(AcquisitionSettings acquisitionSettings, LikelihoodFFTParameters fftParams) Instantiates a new signal band. -
Method Summary
Modifier and TypeMethodDescriptionvoid
calibrate
(AcquisitionSettings acquisitionSettings, LikelihoodFFTParameters fftParams) Calibrates the SignalBand according to the supplied audio data source (acquisition) and FFT parameters.Get a set of data that describes all of the parameters in a classdouble
The user defines GuardBandThreshold in dB, however the underlying modules require a linear ratio.double
The user defines InBandThreshold in dB, however the underlying modules require a linear ratio.boolean
isError()
Checks if is error.
-
Field Details
-
identifier
The signal band identifier. The configuration dialog will ensure that this is unique for each TargetDetection object. -
inBandThresholdDb
public double inBandThresholdDbThe in-band threshold, in db. -
guardBandThresholdDb
public double guardBandThresholdDbThe guard band threshold, in db. -
startFrequencyHz
public double startFrequencyHzThe start frequency hz. -
endFrequencyHz
public double endFrequencyHzThe end frequency hz. -
backgroundSeconds
public double backgroundSecondsThe background seconds. -
signalSeconds
public double signalSecondsThe signal seconds. -
inBandThresholdLimits
public double[] inBandThresholdLimitsThe in-band threshold's limits. -
guardBandThresholdLimits
public double[] guardBandThresholdLimitsThe guard band threshold's limits. -
frequencyLimits
public double[] frequencyLimitsThe frequency's limits. -
secondsLimits
public double[] secondsLimitsThe seconds between detection's limits.
-
-
Constructor Details
-
SignalBand
Instantiates a new signal band.- Parameters:
acquisitionSettings
- the acquisition settingsfftParams
- the fft params
-
-
Method Details
-
calibrate
Calibrates the SignalBand according to the supplied audio data source (acquisition) and FFT parameters.- Parameters:
acquisitionSettings
- the acquisition settingsfftParams
- the fft params- See Also:
-
InBandAsRatio
public double InBandAsRatio()The user defines InBandThreshold in dB, however the underlying modules require a linear ratio. This method converts to a ratio, using the formula 10^(x/10)- Returns:
- The ratio
-
GuardBandAsRatio
public double GuardBandAsRatio()The user defines GuardBandThreshold in dB, however the underlying modules require a linear ratio. This method converts to a ratio, using the formula 10^(x/10)- Returns:
- The ratio
-
isError
public boolean isError()Checks if is error.- Returns:
- true, if is error
-
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.
-