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
FieldsModifier and TypeFieldDescriptiondoubleThe background seconds.doubleThe end frequency hz.double[]The frequency's limits.doubleThe guard band threshold, in db.double[]The guard band threshold's limits.The signal band identifier.doubleThe in-band threshold, in db.double[]The in-band threshold's limits.double[]The seconds between detection's limits.doubleThe signal seconds.doubleThe start frequency hz. - 
Constructor Summary
ConstructorsConstructorDescriptionSignalBand(AcquisitionSettings acquisitionSettings, LikelihoodFFTParameters fftParams) Instantiates a new signal band. - 
Method Summary
Modifier and TypeMethodDescriptionvoidcalibrate(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 classdoubleThe user defines GuardBandThreshold in dB, however the underlying modules require a linear ratio.doubleThe user defines InBandThreshold in dB, however the underlying modules require a linear ratio.booleanisError()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:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
 getParameterSetin interfaceManagedParameters- Returns:
 - description of the parameters in a class.
 
 
 -